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

#include <workload_generator.hpp>

Collaboration diagram for hype::core::WorkloadGenerator:

List of all members.

Public Member Functions

 WorkloadGenerator (const std::string &operation_name)
 ~WorkloadGenerator ()
bool addOffline_Algorithm (const Offline_Algorithm &meas_pair_prov)
void run ()
void nextIteration ()
void shuffleWorkload ()
void reset ()

Private Attributes

std::string operation_name_
unsigned int number_of_right_decisions_
unsigned int number_of_total_decisions_
std::vector< Offline_Algorithmoffline_algorithms
std::vector< double > isolated_execution_time_of_algorithms_
 stores total time algorithm i would have taken for the whole workload, if only algorithm i would be choosen (models static models)
std::fstream logfile
double execution_time_of_ideal_model_
double execution_time_of_cpu_only_model_
double execution_time_of_gpu_only_model_
double execution_time_of_real_model_
double total_time_for_overhead_of_addObservation_
double total_time_for_overhead_of_getOptimalAlgorithm_
std::vector< MeasurementPairexecution_history_
 stores all decisions for this workload
double inter_device_parallel_time_cpu_
double inter_device_parallel_time_gpu_

Friends

class StatisticsGatherer

Detailed Description

Definition at line 43 of file workload_generator.hpp.


Constructor & Destructor Documentation

hype::core::WorkloadGenerator::WorkloadGenerator ( const std::string &  operation_name)

Member Function Documentation


Friends And Related Function Documentation

friend class StatisticsGatherer [friend]

Definition at line 45 of file workload_generator.hpp.


Member Data Documentation

Definition at line 68 of file workload_generator.hpp.

Definition at line 64 of file workload_generator.hpp.


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