DREAM::QoSLevel Class Reference

The base class for QoS properties. More...

#include <Scheduler.h>

List of all members.

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.


Detailed Description

The base class for QoS properties.

The base class that contains QoS properties for the Schedulers. The current implementation captures voltage- and frequency-scaling.

Todo:
Implement dynamic power modeling using this class.

Definition at line 74 of file Scheduler.h.


Constructor & Destructor Documentation

DREAM::QoSLevel::QoSLevel ( const double  speed,
const double  power 
)

Constructor for the class.

Parameters:
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]

Destructor.

Definition at line 84 of file Scheduler.h.


Member Function Documentation

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().


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 18:30:04 2007 for DREAM by  doxygen 1.5.1