Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

RealTimeSchedule Class Reference

List of all members.

Detailed Description

The RealTimeSchedule class is used to help policies that manage Broker::RealTimeTask's.

Definition at line 27 of file RealTimeSchedule.hh.

Public Member Functions

 RealTimeSchedule (CORBA::ULong start=0, CORBA::ULong period=0, CORBA::ULong deadline=0)
 Construct a RealTimeSchedule object with the given values.

virtual ~RealTimeSchedule ()
 Deconstruct a RealTimeSchedule object.

CORBA::ULong intersect (CORBA::ULong start, CORBA::ULong stop)
 Compute the number of microseconds that this schedule will have to execute during the given time frame.


Public Attributes

CORBA::ULong rts_Start
 The start time for the task.

CORBA::ULong rts_Period
 The task period in microseconds.

CORBA::ULong rts_Deadline
 The task deadline in microseconds, relative to the start of the period.


Constructor & Destructor Documentation

RealTimeSchedule::RealTimeSchedule CORBA::ULong  start = 0,
CORBA::ULong  period = 0,
CORBA::ULong  deadline = 0
 

Construct a RealTimeSchedule object with the given values.

Parameters:
start The start time for the task.
period The task period in microseconds.
deadline The task deadline in microseconds, relative to the start of the period.

Definition at line 31 of file RealTimeSchedule.cc.

References require.


Member Function Documentation

CORBA::ULong RealTimeSchedule::intersect CORBA::ULong  start,
CORBA::ULong  stop
 

Compute the number of microseconds that this schedule will have to execute during the given time frame.

Parameters:
start The start of the time frame, in microseconds.
stop The end of the time frame, in microseconds.
Returns:
The number of microseconds during the time frame in which this task will be schedulable.

Definition at line 43 of file RealTimeSchedule.cc.

References max, min, require, rts_Deadline, rts_Period, and rts_Start.


Member Data Documentation

CORBA::ULong RealTimeSchedule::rts_Start
 

The start time for the task.

XXX somewhat bogus at the moment

Definition at line 61 of file RealTimeSchedule.hh.

Referenced by StrictPolicyImpl::GiveCPU(), intersect(), StrictPolicyImpl::SubList(), and StrictPolicyImpl::TakeCPU().


The documentation for this class was generated from the following files:
Generated on Mon Dec 1 16:30:37 2003 for CPU Broker by doxygen 1.3.4