Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
|
#include <scheduler.hpp>
Public Types | |
typedef std::map < ProcessingDeviceID, queryprocessing::VirtualProcessingDevicePtr > | Devices |
Public Member Functions | |
ProcessingDevices () | |
queryprocessing::VirtualProcessingDevicePtr | getProcessingDevice (ProcessingDeviceID) |
bool | addDevice (const DeviceSpecification &) |
bool | exists (const DeviceSpecification &) const throw () |
const Devices & | getDevices () const throw () |
bool | addSchedulingDecision (const SchedulingDecision &) |
bool | removeSchedulingDecision (const SchedulingDecision &) |
void | print () const throw () |
Private Attributes | |
Devices | virt_comp_devs_ |
Definition at line 159 of file scheduler.hpp.
typedef std::map<ProcessingDeviceID,queryprocessing::VirtualProcessingDevicePtr> hype::core::Scheduler::ProcessingDevices::Devices |
Definition at line 161 of file scheduler.hpp.
Definition at line 275 of file scheduler.cpp.
bool hype::core::Scheduler::ProcessingDevices::addDevice | ( | const DeviceSpecification & | dev_spec | ) |
Definition at line 277 of file scheduler.cpp.
References hype::core::DeviceSpecification::getProcessingDeviceID().
Referenced by hype::core::Scheduler::addAlgorithm().
bool hype::core::Scheduler::ProcessingDevices::addSchedulingDecision | ( | const SchedulingDecision & | sched_dec | ) |
Definition at line 326 of file scheduler.cpp.
References hype::core::SchedulingDecision::getDeviceSpecification(), hype::queryprocessing::getProcessingDevice(), and hype::core::DeviceSpecification::getProcessingDeviceID().
bool hype::core::Scheduler::ProcessingDevices::exists | ( | const DeviceSpecification & | dev_spec | ) | const throw () |
Definition at line 287 of file scheduler.cpp.
Referenced by hype::core::Scheduler::addAlgorithm().
const Scheduler::ProcessingDevices::Devices & hype::core::Scheduler::ProcessingDevices::getDevices | ( | ) | const throw () |
Definition at line 303 of file scheduler.cpp.
Referenced by hype::core::WaitingTimeAwareResponseTime::getOptimalAlgorithm_internal().
VirtualProcessingDevicePtr hype::core::Scheduler::ProcessingDevices::getProcessingDevice | ( | ProcessingDeviceID | dev_id | ) |
Definition at line 308 of file scheduler.cpp.
void hype::core::Scheduler::ProcessingDevices::print | ( | ) | const throw () |
Definition at line 348 of file scheduler.cpp.
Referenced by hype::core::WaitingTimeAwareResponseTime::getOptimalAlgorithm_internal().
bool hype::core::Scheduler::ProcessingDevices::removeSchedulingDecision | ( | const SchedulingDecision & | sched_dec | ) |
Definition at line 337 of file scheduler.cpp.
References hype::core::SchedulingDecision::getDeviceSpecification(), hype::queryprocessing::getProcessingDevice(), and hype::core::DeviceSpecification::getProcessingDeviceID().
Referenced by hype::core::Scheduler::addObservation().
Definition at line 179 of file scheduler.hpp.