The class will create an rk_resource_set for every process on construction and maintain it until destruction.
Public Member Functions | |||||||||||||
RKTask (const Broker::TaskParameters &tp) throw (CORBA::SystemException, Broker::DuplicateTaskParameter, Broker::InvalidTaskParameter, Broker::MissingTaskParameter) | |||||||||||||
Construct an RKTask from the given parameters. | |||||||||||||
virtual | ~RKTask () | ||||||||||||
Destruct an RKTask. | |||||||||||||
char * | Name (void) throw (CORBA::SystemException) | ||||||||||||
Mostly useful for debugging. | |||||||||||||
CORBA::ULong | Period (void) throw (CORBA::SystemException) | ||||||||||||
| |||||||||||||
CORBA::ULong | Deadline (void) throw (CORBA::SystemException) | ||||||||||||
| |||||||||||||
void | BeginCPUScheduling (Broker::Manager_ptr manager, const Broker::ScheduleParameters &cs) throw (CORBA::SystemException, Broker::DuplicateScheduleParameter, Broker::InvalidScheduleParameter, Broker::MissingScheduleParameter) | ||||||||||||
| |||||||||||||
void | EndCPUScheduling (void) throw (CORBA::SystemException) | ||||||||||||
| |||||||||||||
CORBA::ULong | GetComputeTime (void) throw (CORBA::SystemException) | ||||||||||||
| |||||||||||||
void | SetComputeTime (CORBA::ULong usecs) throw (CORBA::SystemException) | ||||||||||||
| |||||||||||||
Protected Attributes | |||||||||||||
CORBA::String_var | rkt_Name | ||||||||||||
The name of the task and the resource set created for it. | |||||||||||||
rk_resource_set_t | rkt_ResourceSet | ||||||||||||
The resource set for the process. | |||||||||||||
cpu_reserve_attr | rkt_CPUReserveSpec | ||||||||||||
Caches the value of the CPU reservation when scheduling is active and maintains the values when not active. | |||||||||||||
Broker::Manager_var | rkt_Manager | ||||||||||||
The Broker::Manager used to handle scheduling during contention. | |||||||||||||
rk_reserve_t | rkt_CPUReserve | ||||||||||||
The CPU reserve for the process. | |||||||||||||
timeval | rkt_StartTime | ||||||||||||
timeval | rkt_LastReservationLog | ||||||||||||
ofstream * | rkt_ReservationLog |
|
Construct an RKTask from the given parameters. The current set of recognized parameters are:
|
|
The CPU reserve for the process. Only valid between BeginCPUScheduling and EndCPUScheduling calls. |
|
Caches the value of the CPU reservation when scheduling is active and maintains the values when not active.
|
|
The Broker::Manager used to handle scheduling during contention. Only valid between BeginCPUScheduling and EndCPUScheduling calls. |
|
The name of the task and the resource set created for it.
|
|
The resource set for the process.
|