Column-oriented GPU-accelerated Database Management System
CoGaDB
|
#include <configuration.hpp>
Public Member Functions | |
bool | setHistoryLength (unsigned int history_length) throw () |
bool | setRecomputationPeriod (unsigned int length_of_recomputation_period) throw () |
bool | setRetrainingLength (unsigned int retraining_length) throw () |
bool | setAlgorithmMaximalIdleTime (unsigned int max_idle_time) throw () |
bool | setMaximalReadyQueueLength (unsigned int max_ready_queue_length_of_processing_devices) throw () |
bool | setOutlinerThreshold (double threshold) throw () |
unsigned int | getTrainingLength () const throw () |
unsigned int | getHistoryLength () const throw () |
unsigned int | getRecomputationPeriod () const throw () |
unsigned int | getRetrainingLength () const throw () |
unsigned int | getAlgorithmMaximalIdleTime () const throw () |
unsigned int | getRelativeErrorWindowSize () const throw () |
unsigned int | getMaximalSlowdownOfNonOptimalAlgorithm () const throw () |
returns maximal slowdown in percent | |
unsigned int | getMaximalReadyQueueLength () const throw () |
double | getOutlinerThreshold () const throw () |
bool | printAlgorithmStatistics () const throw () |
bool | isQueryChoppingEnabled () const throw () |
bool | setQueryChoppingEnabled (bool value) throw () |
OptimizationCriterion | getDefaultOptimizationCriterion () const throw () |
bool | setDefaultOptimizationCriterion (unsigned int value) throw () |
Static Public Member Functions | |
static Runtime_Configuration & | instance () throw () |
Private Member Functions | |
Runtime_Configuration () | |
Runtime_Configuration (const Runtime_Configuration &) | |
Runtime_Configuration & | operator= (const Runtime_Configuration &) |
Private Attributes | |
unsigned int | length_of_initial_training_phase_ |
unsigned int | length_of_history_ |
unsigned int | period_for_periodic_recomputation_ |
unsigned int | maximal_time_where_algorithm_was_not_choosen_ |
unsigned int | maximal_retraining_length_ |
unsigned int | window_size_for_windowed_average_relative_estimation_error_ |
unsigned int | maximal_slowdown_of_non_optimal_algorithm_in_percent_ |
unsigned int | ready_queue_length_of_processing_devices_ |
bool | print_algorithm_statistics_report_ |
bool | enableQueryChopping_ |
unsigned int | defaultOptimizationCriterion_ |
hype::core::Runtime_Configuration::Runtime_Configuration | ( | ) | [private] |
hype::core::Runtime_Configuration::Runtime_Configuration | ( | const Runtime_Configuration & | ) | [private] |
unsigned int hype::core::Runtime_Configuration::getAlgorithmMaximalIdleTime | ( | ) | const throw () |
OptimizationCriterion hype::core::Runtime_Configuration::getDefaultOptimizationCriterion | ( | ) | const throw () |
unsigned int hype::core::Runtime_Configuration::getHistoryLength | ( | ) | const throw () |
Referenced by hype::queryprocessing::Operation_Benchmark< Type >::run().
unsigned int hype::core::Runtime_Configuration::getMaximalReadyQueueLength | ( | ) | const throw () |
Referenced by hype::queryprocessing::Operation_Benchmark< Type >::run().
unsigned int hype::core::Runtime_Configuration::getMaximalSlowdownOfNonOptimalAlgorithm | ( | ) | const throw () |
returns maximal slowdown in percent
Referenced by hype::queryprocessing::Operation_Benchmark< Type >::run().
double hype::core::Runtime_Configuration::getOutlinerThreshold | ( | ) | const throw () |
Referenced by hype::queryprocessing::Operation_Benchmark< Type >::run().
unsigned int hype::core::Runtime_Configuration::getRecomputationPeriod | ( | ) | const throw () |
Referenced by hype::queryprocessing::Operation_Benchmark< Type >::run().
unsigned int hype::core::Runtime_Configuration::getRelativeErrorWindowSize | ( | ) | const throw () |
unsigned int hype::core::Runtime_Configuration::getRetrainingLength | ( | ) | const throw () |
unsigned int hype::core::Runtime_Configuration::getTrainingLength | ( | ) | const throw () |
Referenced by hype::queryprocessing::Operation_Benchmark< Type >::run().
static Runtime_Configuration& hype::core::Runtime_Configuration::instance | ( | ) | throw () [static] |
Referenced by hype::queryprocessing::N_AryOperator< OperatorInputType, OperatorOutputType >::getRecursiveExecutionTimeInNanoseconds(), hype::queryprocessing::BinaryOperator< TablePtr, TablePtr, TablePtr >::getRecursiveExecutionTimeInNanoseconds(), CoGaDB::query_processing::optimize_and_execute(), hype::queryprocessing::UnaryOperator< ColumnPtr, ColumnPtr >::run(), hype::queryprocessing::N_AryOperator< OperatorInputType, OperatorOutputType >::run(), hype::queryprocessing::BinaryOperator< TablePtr, TablePtr, TablePtr >::run(), and hype::queryprocessing::Operation_Benchmark< Type >::run().
bool hype::core::Runtime_Configuration::isQueryChoppingEnabled | ( | ) | const throw () |
Runtime_Configuration& hype::core::Runtime_Configuration::operator= | ( | const Runtime_Configuration & | ) | [private] |
bool hype::core::Runtime_Configuration::printAlgorithmStatistics | ( | ) | const throw () |
bool hype::core::Runtime_Configuration::setAlgorithmMaximalIdleTime | ( | unsigned int | max_idle_time | ) | throw () |
bool hype::core::Runtime_Configuration::setDefaultOptimizationCriterion | ( | unsigned int | value | ) | throw () |
bool hype::core::Runtime_Configuration::setHistoryLength | ( | unsigned int | history_length | ) | throw () |
bool hype::core::Runtime_Configuration::setMaximalReadyQueueLength | ( | unsigned int | max_ready_queue_length_of_processing_devices | ) | throw () |
bool hype::core::Runtime_Configuration::setOutlinerThreshold | ( | double | threshold | ) | throw () |
bool hype::core::Runtime_Configuration::setQueryChoppingEnabled | ( | bool | value | ) | throw () |
Referenced by CoGaDB::query_processing::optimize_and_execute().
bool hype::core::Runtime_Configuration::setRecomputationPeriod | ( | unsigned int | length_of_recomputation_period | ) | throw () |
bool hype::core::Runtime_Configuration::setRetrainingLength | ( | unsigned int | retraining_length | ) | throw () |
unsigned int hype::core::Runtime_Configuration::defaultOptimizationCriterion_ [private] |
bool hype::core::Runtime_Configuration::enableQueryChopping_ [private] |
unsigned int hype::core::Runtime_Configuration::length_of_history_ [private] |
unsigned int hype::core::Runtime_Configuration::length_of_initial_training_phase_ [private] |
unsigned int hype::core::Runtime_Configuration::maximal_retraining_length_ [private] |
unsigned int hype::core::Runtime_Configuration::maximal_slowdown_of_non_optimal_algorithm_in_percent_ [private] |
unsigned int hype::core::Runtime_Configuration::maximal_time_where_algorithm_was_not_choosen_ [private] |
unsigned int hype::core::Runtime_Configuration::period_for_periodic_recomputation_ [private] |
unsigned int hype::core::Runtime_Configuration::ready_queue_length_of_processing_devices_ [private] |
unsigned int hype::core::Runtime_Configuration::window_size_for_windowed_average_relative_estimation_error_ [private] |