Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
|
#include <simple_round_robin_throughput.hpp>
Public Member Functions | |
SimpleRoundRobin (std::string name_of_operation) | |
virtual const SchedulingDecision | getOptimalAlgorithm_internal (const Tuple &input_values, Operation &op, DeviceTypeConstraint dev_constr) |
this function is called by getOptimalAlgorithm() to ensure an easy extensibility of the library | |
Static Public Member Functions | |
static OptimizationCriterion_Internal * | create () |
Definition at line 16 of file simple_round_robin_throughput.hpp.
hype::core::SimpleRoundRobin::SimpleRoundRobin | ( | std::string | name_of_operation | ) |
Definition at line 22 of file simple_round_robin_throughput.cpp.
Referenced by create().
static OptimizationCriterion_Internal* hype::core::SimpleRoundRobin::create | ( | ) | [inline, static] |
Definition at line 24 of file simple_round_robin_throughput.hpp.
References SimpleRoundRobin().
Referenced by hype::core::PluginLoader::loadPlugins().
const SchedulingDecision hype::core::SimpleRoundRobin::getOptimalAlgorithm_internal | ( | const Tuple & | input_values, |
Operation & | op, | ||
DeviceTypeConstraint | dev_constr | ||
) | [virtual] |
has to be implemented by derived classes
\return |
Implements hype::core::OptimizationCriterion_Internal.
Definition at line 26 of file simple_round_robin_throughput.cpp.
References ANY_DEVICE, hype::core::Operation::getAlgorithm(), hype::core::Operation::getAlgorithms(), and hype::core::map_algorithmname_to_number_of_executions.