#include <Scheduler.h>
Public Member Functions | |
QoSLevel (const double speed, const double power) | |
Constructor for the class. | |
~QoSLevel () | |
Destructor. | |
double | speed () const |
Returns the speed parameter. | |
double | power () const |
Returns the power parameter. | |
Protected Attributes | |
const double | speed_ |
The speed corresponding to the QoS-level. | |
const double | power_ |
The power level corresponding to the QoS-level. |
The base class that contains QoS properties for the Schedulers. The current implementation captures voltage- and frequency-scaling.
Definition at line 74 of file Scheduler.h.
DREAM::QoSLevel::QoSLevel | ( | const double | speed, | |
const double | power | |||
) |
Constructor for the class.
speed | is the speed corresponding to the QoS-level. | |
power | is the power level corresponding to the QoS-level. |
Definition at line 62 of file Scheduler.cpp.
DREAM::QoSLevel::~QoSLevel | ( | ) | [inline] |
double DREAM::QoSLevel::speed | ( | ) | const [inline] |
Returns the speed parameter.
Definition at line 72 of file Scheduler.cpp.
References speed_.
Referenced by DREAM::Scheduler::qos_add(), and DREAM::Scheduler::speed().
double DREAM::QoSLevel::power | ( | ) | const [inline] |
Returns the power parameter.
Definition at line 67 of file Scheduler.cpp.
References power_.
Referenced by DREAM::Scheduler::power().
const double DREAM::QoSLevel::speed_ [protected] |
The speed corresponding to the QoS-level.
Definition at line 94 of file Scheduler.h.
Referenced by speed().
const double DREAM::QoSLevel::power_ [protected] |
The power level corresponding to the QoS-level.
Definition at line 97 of file Scheduler.h.
Referenced by power().