Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
hype::core::MeasurementPairRingbuffer Class Reference

#include <measurementpair_ringbuffer.hpp>

List of all members.

Public Member Functions

 MeasurementPairRingbuffer ()
 MeasurementPairRingbuffer (size_t size)
unsigned int size () const throw ()
bool store (std::ostream &out) const
void set_maximal_number_of_measurement_pairs (size_t size)
bool addMeasurementPair (const MeasurementPair &mp)
const std::vector< EstimatedTimegetColumnEstimations ()
const std::vector< MeasuredTimegetColumnMeasurements ()
const std::vector< TuplegetColumnFeatureValues ()
void clear () throw ()

Private Attributes

boost::circular_buffer< Tuplefeature_values_
boost::circular_buffer
< MeasuredTime
measured_times_
boost::circular_buffer
< EstimatedTime
estimated_times_

Detailed Description

Definition at line 44 of file measurementpair_ringbuffer.hpp.


Constructor & Destructor Documentation

Definition at line 16 of file measurementpair_ringbuffer.cpp.

References set_maximal_number_of_measurement_pairs().

Here is the call graph for this function:


Member Function Documentation

Definition at line 37 of file measurementpair_ringbuffer.cpp.

References estimated_times_, feature_values_, and measured_times_.

Referenced by MeasurementPairRingbuffer().

Here is the caller graph for this function:

unsigned int hype::core::MeasurementPairRingbuffer::size ( ) const throw ()

Definition at line 23 of file measurementpair_ringbuffer.cpp.

References estimated_times_, feature_values_, and measured_times_.

Referenced by store().

Here is the caller graph for this function:

bool hype::core::MeasurementPairRingbuffer::store ( std::ostream &  out) const

Definition at line 29 of file measurementpair_ringbuffer.cpp.

References estimated_times_, feature_values_, measured_times_, and size().

Referenced by hype::core::AlgorithmStatistics::writeToDisc().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines