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

Broker::RealTimeTask Interface Reference

Inheritance diagram for Broker::RealTimeTask:

Inheritance graph
[legend]
Collaboration diagram for Broker::RealTimeTask:

Collaboration graph
[legend]
List of all members.

Detailed Description

The RealTimeTask interface encapsulates scheduling parameters for tasks that have real-time requirements.

See also:
RKTask

RealTimeTaskDelegateImpl

Definition at line 174 of file Broker.idl.

Public Member Functions

unsigned long GetComputeTime ()
void SetComputeTime (in unsigned long usecs)
void ReportCPU (in RealTimeTask rtt, in unsigned long status, in unsigned long advice)
 Method used by the application to report its actual CPU usage.


Public Attributes

readonly attribute unsigned
long 
Period
 The period, in microseconds.

readonly attribute unsigned
long 
Deadline
 The deadline, in microseconds, relative to the start of the period.


Member Function Documentation

unsigned long Broker::RealTimeTask::GetComputeTime  ) 
 

Returns:
The number of microseconds of compute time.

void Broker::RealTimeTask::ReportCPU in RealTimeTask  rtt,
in unsigned long  status,
in unsigned long  advice
 

Method used by the application to report its actual CPU usage.

This method would then be used by adaptation proxies to change the advice parameter to their liking.

Parameters:
rtt The task object that was actually added to the manager.
status The CPU usage of the task in microseconds.
advice The amount of CPU time, in microseconds, that the application would like for the next period.
See also:
ChangeTaskCPU

void Broker::RealTimeTask::SetComputeTime in unsigned long  usecs  ) 
 

Parameters:
usecs The number of microseconds of compute time.


Member Data Documentation

readonly attribute unsigned long Broker::RealTimeTask::Deadline
 

The deadline, in microseconds, relative to the start of the period.

Definition at line 184 of file Broker.idl.

readonly attribute unsigned long Broker::RealTimeTask::Period
 

The period, in microseconds.

Definition at line 179 of file Broker.idl.


The documentation for this interface was generated from the following file:
Generated on Mon Dec 1 16:30:43 2003 for CPU Broker by doxygen 1.3.4