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

The namespace stemod::core contains all classes and functions that belong to the core framework.

Classes

class  Static_Configuration
class  Runtime_Configuration
class  Algorithm
 This class represents an algorithm. It abstracts important features and encapsulates information of the algorithm. At the same time, it is highly adaptable. More...
class  AlgorithmMeasurement
 This class represents an easy to use interface for time measurement of an algorithms execution time. More...
class  AlgorithmStatistics
 This class represents an information collection of an algorithm. Hence, it is the central place where all statistical information for one algorithm is stored. More...
class  Factory
class  LoadChangeEstimator
class  MeasurementPair
 This class represents the result of a measurement consisting of the features of a data set, the measured execution time of an algorithm and an estimated execution time for an algortihm computed by a statistical method. More...
class  MeasurementPairRingbuffer
class  Offline_Algorithm
class  Operation
 This class represents an operation, which abstracts from algorithms and summarizes them under an abstract task, like sorting, join, selection, projection etc. More...
class  OptimizationCriterion_Internal
 Base class for all optimization criterions. More...
class  OptimizationCriterionFactorySingleton
class  PlotScriptGenerator
class  RecomputationHeuristic_Internal
class  RecomputationHeuristicFactorySingleton
class  Report
class  Scheduler
 The Scheduler is the central component for interaction of the application and the library. More...
class  SchedulingDecision
 This class represents a scheduling decision for an operation w.r.t. a user specified set of features of the input data. More...
class  AlgorithmSpecification
 An AlgorithmSpecification specifies all relevant information about an algorithm, such as the algorithm's name or the name of the operation the algorithms belongs to. More...
struct  OperatorSpecification
 A OperatorSpecification defines the operator that the user wants to execute. More...
struct  DeviceSpecification
 A DeviceSpecification defines a processing device that is available for performing computations. More...
struct  DeviceConstraint
 A DeviceConstraint restricts the type of processing device, which HyPE may choose to process an operator. More...
class  StatisticalMethod_Internal
class  StatisticalMethodFactorySingleton
class  Statistics
class  StatisticsGatherer
class  EstimatedTime
class  MeasuredTime
class  WorkloadGenerator
class  ProbabilityBasedOutsourcing
class  ResponseTime
class  WaitingTimeAwareResponseTime
class  SimpleRoundRobin
class  Throughput
class  Throughput2
class  PluginLoader
class  RelativeErrorBasedRecomputation
class  Oneshotcomputation
class  PeriodicRecomputation
class  Least_Squares_Method_1D
class  Least_Squares_Method_2D

Typedefs

typedef std::tr1::shared_ptr
< Algorithm
AlgorithmPtr
typedef core::Factory
< OptimizationCriterion_Internal,
std::string > 
OptimizationCriterionFactory
typedef core::Factory
< RecomputationHeuristic_Internal,
std::string > 
RecomputationHeuristicFactory
typedef core::Factory
< StatisticalMethod_Internal,
std::string > 
StatisticalMethodFactory
typedef std::tr1::shared_ptr
< StatisticalMethod_Internal
StatisticalMethodPtr
typedef std::map< std::string,
StatisticalMethodPtr
StatisticalMethodMap
typedef std::vector< double > Tuple

Functions

std::ostream & operator<< (std::ostream &out, MeasurementPair &pair)
std::tr1::shared_ptr
< OptimizationCriterion_Internal
getNewOptimizationCriterionbyName (const std::string &name_of_optimization_criterion)
 factory function taht creates OptimizationCriterion objects
const std::tr1::shared_ptr
< RecomputationHeuristic_Internal
getNewRecomputationHeuristicbyName (std::string name)
uint64_t getUniqueID ()
const std::tr1::shared_ptr
< StatisticalMethod_Internal
getNewStatisticalMethodbyName (std::string name)
uint64_t getTimestamp ()
unsigned int & getWorkloadID ()
std::string map_environment_variable_name_to_option_name (const std::string &s)
ProcessingDeviceMemoryID getMemory (ProcessingDeviceID)
std::vector< ProcessingDeviceIDgetProcessingDevices (ProcessingDeviceMemoryID)

Variables

boost::mutex global_mutex
std::map< std::string,
unsigned int > 
map_algorithmname_to_number_of_executions
std::map< std::string, double > object_map

Typedef Documentation

typedef std::tr1::shared_ptr<Algorithm> hype::core::AlgorithmPtr

Definition at line 118 of file algorithm.hpp.

Definition at line 61 of file statistical_method.hpp.

Definition at line 60 of file statistical_method.hpp.

typedef std::vector<double> hype::core::Tuple

Definition at line 44 of file time_measurement.hpp.


Function Documentation

std::tr1::shared_ptr< OptimizationCriterion_Internal > hype::core::getNewOptimizationCriterionbyName ( const std::string &  name_of_optimization_criterion)
const std::tr1::shared_ptr< RecomputationHeuristic_Internal > hype::core::getNewRecomputationHeuristicbyName ( std::string  name)

Definition at line 31 of file recomputation_heuristic.cpp.

References hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::CreateObject(), and hype::core::RecomputationHeuristicFactorySingleton::Instance().

Referenced by hype::core::Scheduler::setRecomputationHeuristic().

Here is the call graph for this function:

Here is the caller graph for this function:

const std::tr1::shared_ptr< StatisticalMethod_Internal > hype::core::getNewStatisticalMethodbyName ( std::string  name)

Definition at line 14 of file statistical_method.cpp.

References hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::CreateObject(), and hype::core::StatisticalMethodFactorySingleton::Instance().

Referenced by hype::core::Scheduler::setStatisticalMethod().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 22 of file scheduling_decision.cpp.

unsigned int& hype::core::getWorkloadID ( )
std::string hype::core::map_environment_variable_name_to_option_name ( const std::string &  s)

Definition at line 15 of file runtime_configuration.cpp.

Referenced by hype::core::Runtime_Configuration::Runtime_Configuration().

Here is the caller graph for this function:

std::ostream & hype::core::operator<< ( std::ostream &  out,
MeasurementPair &  pair 
)

Variable Documentation

std::map<std::string,double> hype::core::object_map
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines