Commit 0a2230f1 authored by Carla Guillen's avatar Carla Guillen

Fixing compiler error

parent 7739c24f
......@@ -61,6 +61,6 @@ libdcdboperator_filesink.$(LIBEXT): operators/filesink/FilesinkOperator.o operat
libdcdboperator_smucngperf.$(LIBEXT): operators/smucngperf/SMUCNGPerfOperator.o operators/smucngperf/SMUCNGPerfConfigurator.o operators/smucngperf/SKXPMUMetrics.o ../common/src/sensornavigator.o
$(CXX) $(LIBFLAGS)$@ -o $@ $^ -L$(DCDBDEPLOYPATH)/lib/ -lboost_log -lboost_system -lboost_regex
libdcdboperator_persystsql.$(LIBEXT): operators/persystsql/JobTSAggregatorOperator.o operators/persystsql/JobTSAggregatorConfigurator.o ../common/src/sensornavigator.o
libdcdboperator_persystsql.$(LIBEXT): operators/persystsql/PerSystSqlOperator.o operators/persystsql/PerSystSqlConfigurator.o ../common/src/sensornavigator.o
$(CXX) $(LIBFLAGS)$@ -o $@ $^ -L$(DCDBDEPLOYPATH)/lib/ -lboost_log -lboost_system -lboost_regex
......@@ -188,6 +188,6 @@ float severity_memory(float metric, float threshold, float max_memory){
return severity;
}
void PerSystSqlOperator::computeSeverityAverage(vector<reading_t> & buffer){
int64_t PerSystSqlOperator::computeSeverityAverage(vector<reading_t> & buffer){
return 0;
}
......@@ -82,7 +82,7 @@ private:
protected:
virtual void compute(U_Ptr unit) override;
void compute_internal(U_Ptr unit, vector<reading_t> buffer);
void computeSeverityAverage(vector<reading_t> & buffer);
int64_t computeSeverityAverage(vector<reading_t> & buffer);
std::vector<AggregatorSBPtr> _quantileSensors;
unsigned int _number_of_even_quantiles;
Formula _severity_formula;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment