Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
|
#include <loadchange_estimator.hpp>
Public Member Functions | |
LoadChangeEstimator (unsigned int size_of_circular_buffer=10) | |
double | getLoadModificator () const throw () |
void | add (const MeasurementPair &mp) throw () |
Private Attributes | |
boost::circular_buffer< double > | last_load_factors_ |
Definition at line 16 of file loadchange_estimator.hpp.
hype::core::LoadChangeEstimator::LoadChangeEstimator | ( | unsigned int | size_of_circular_buffer = 10 | ) |
Definition at line 10 of file loadchange_estimator.cpp.
References last_load_factors_.
void hype::core::LoadChangeEstimator::add | ( | const MeasurementPair & | mp | ) | throw () |
Definition at line 30 of file loadchange_estimator.cpp.
Referenced by hype::core::Algorithm::addMeasurementPair().
double hype::core::LoadChangeEstimator::getLoadModificator | ( | ) | const throw () |
Definition at line 14 of file loadchange_estimator.cpp.
References last_load_factors_.
boost::circular_buffer<double> hype::core::LoadChangeEstimator::last_load_factors_ [private] |
Definition at line 25 of file loadchange_estimator.hpp.
Referenced by getLoadModificator(), and LoadChangeEstimator().