Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
|
#include <statistics_gatherer.hpp>
Public Member Functions | |
StatisticsGatherer (const std::string &operation_name) | |
bool | addStatistics (const WorkloadGenerator &w) |
void | printReport () const throw () |
Private Attributes | |
std::string | operation_name_ |
unsigned int | number_of_right_decisions_ |
unsigned int | number_of_total_decisions_ |
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::vector< std::string > | names_of_algorithms_ |
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_ |
double | inter_device_parallel_time_cpu_ |
double | inter_device_parallel_time_gpu_ |
Definition at line 21 of file statistics_gatherer.hpp.
hype::core::StatisticsGatherer::StatisticsGatherer | ( | const std::string & | operation_name | ) |
Definition at line 7 of file statistics_gatherer.cpp.
bool hype::core::StatisticsGatherer::addStatistics | ( | const WorkloadGenerator & | w | ) |
Definition at line 24 of file statistics_gatherer.cpp.
References execution_time_of_cpu_only_model_, hype::core::WorkloadGenerator::execution_time_of_cpu_only_model_, execution_time_of_gpu_only_model_, hype::core::WorkloadGenerator::execution_time_of_gpu_only_model_, execution_time_of_ideal_model_, hype::core::WorkloadGenerator::execution_time_of_ideal_model_, execution_time_of_real_model_, hype::core::WorkloadGenerator::execution_time_of_real_model_, inter_device_parallel_time_cpu_, hype::core::WorkloadGenerator::inter_device_parallel_time_cpu_, inter_device_parallel_time_gpu_, hype::core::WorkloadGenerator::inter_device_parallel_time_gpu_, isolated_execution_time_of_algorithms_, hype::core::WorkloadGenerator::isolated_execution_time_of_algorithms_, names_of_algorithms_, number_of_right_decisions_, hype::core::WorkloadGenerator::number_of_right_decisions_, number_of_total_decisions_, hype::core::WorkloadGenerator::offline_algorithms, operation_name_, hype::core::WorkloadGenerator::operation_name_, total_time_for_overhead_of_addObservation_, hype::core::WorkloadGenerator::total_time_for_overhead_of_addObservation_, total_time_for_overhead_of_getOptimalAlgorithm_, and hype::core::WorkloadGenerator::total_time_for_overhead_of_getOptimalAlgorithm_.
void hype::core::StatisticsGatherer::printReport | ( | ) | const throw () |
Definition at line 58 of file statistics_gatherer.cpp.
References execution_time_of_ideal_model_, execution_time_of_real_model_, inter_device_parallel_time_cpu_, inter_device_parallel_time_gpu_, isolated_execution_time_of_algorithms_, names_of_algorithms_, number_of_right_decisions_, number_of_total_decisions_, operation_name_, total_time_for_overhead_of_addObservation_, and total_time_for_overhead_of_getOptimalAlgorithm_.
double hype::core::StatisticsGatherer::execution_time_of_cpu_only_model_ [private] |
Definition at line 37 of file statistics_gatherer.hpp.
Referenced by addStatistics().
double hype::core::StatisticsGatherer::execution_time_of_gpu_only_model_ [private] |
Definition at line 38 of file statistics_gatherer.hpp.
Referenced by addStatistics().
double hype::core::StatisticsGatherer::execution_time_of_ideal_model_ [private] |
Definition at line 36 of file statistics_gatherer.hpp.
Referenced by addStatistics(), and printReport().
double hype::core::StatisticsGatherer::execution_time_of_real_model_ [private] |
Definition at line 40 of file statistics_gatherer.hpp.
Referenced by addStatistics(), and printReport().
double hype::core::StatisticsGatherer::inter_device_parallel_time_cpu_ [private] |
Definition at line 44 of file statistics_gatherer.hpp.
Referenced by addStatistics(), and printReport().
double hype::core::StatisticsGatherer::inter_device_parallel_time_gpu_ [private] |
Definition at line 45 of file statistics_gatherer.hpp.
Referenced by addStatistics(), and printReport().
std::vector<double> hype::core::StatisticsGatherer::isolated_execution_time_of_algorithms_ [private] |
Definition at line 33 of file statistics_gatherer.hpp.
Referenced by addStatistics(), and printReport().
std::vector<std::string> hype::core::StatisticsGatherer::names_of_algorithms_ [private] |
Definition at line 34 of file statistics_gatherer.hpp.
Referenced by addStatistics(), and printReport().
unsigned int hype::core::StatisticsGatherer::number_of_right_decisions_ [private] |
Definition at line 30 of file statistics_gatherer.hpp.
Referenced by addStatistics(), and printReport().
unsigned int hype::core::StatisticsGatherer::number_of_total_decisions_ [private] |
Definition at line 31 of file statistics_gatherer.hpp.
Referenced by addStatistics(), and printReport().
std::string hype::core::StatisticsGatherer::operation_name_ [private] |
Definition at line 29 of file statistics_gatherer.hpp.
Referenced by addStatistics(), and printReport().
Definition at line 41 of file statistics_gatherer.hpp.
Referenced by addStatistics(), and printReport().
Definition at line 42 of file statistics_gatherer.hpp.
Referenced by addStatistics(), and printReport().