
The class will create an rk_resource_set for every process on construction and maintain it until destruction.
Definition at line 30 of file RKTask.hh.
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. | |||||||||||
| virtual char * | Name (void) throw (CORBA::SystemException) | ||||||||||
| Mostly useful for debugging. | |||||||||||
| virtual CORBA::ULong | Period (void) throw (CORBA::SystemException) | ||||||||||
| | |||||||||||
| virtual CORBA::ULong | Deadline (void) throw (CORBA::SystemException) | ||||||||||
| | |||||||||||
| virtual void | SetManager (Broker::Manager_ptr man) throw (CORBA::SystemException) | ||||||||||
| |||||||||||
| virtual void | BeginCPUScheduling (const Broker::ScheduleParameters &cs) throw (CORBA::SystemException, Broker::DuplicateScheduleParameter, Broker::InvalidScheduleParameter, Broker::MissingScheduleParameter) | ||||||||||
| |||||||||||
| virtual void | EndCPUScheduling (void) throw (CORBA::SystemException) | ||||||||||
| |||||||||||
| virtual CORBA::ULong | GetComputeTime (void) throw (CORBA::SystemException) | ||||||||||
| | |||||||||||
| virtual void | SetComputeTime (CORBA::ULong usecs) throw (CORBA::SystemException) | ||||||||||
| | |||||||||||
| virtual void | ReportCPU (Broker::RealTimeTask_ptr rtt, CORBA::ULong status, CORBA::ULong advice) throw (CORBA::SystemException) | ||||||||||
| This method would then be used by adaptation proxies to change the advice parameter to their liking.
| |||||||||||
| virtual void | ReportCPU2 (CORBA::ULong status, CORBA::ULong advice) throw (CORBA::SystemException) | ||||||||||
| This method would then be used by adaptation proxies to change the advice parameter to their liking.
| |||||||||||
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. | |||||||||||
| char | rkt_OwnsResourceSet | ||||||||||
| Flag used to indicate whether or not we allocated the resource set. | |||||||||||
| 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 | ||||||||||
| The time of day that this object was constructed. | |||||||||||
| timeval | rkt_LastReservationLog | ||||||||||
| The last time a reservation change was logged. | |||||||||||
| ofstream * | rkt_ReservationLog | ||||||||||
| The output stream for the reservation log file. | |||||||||||
|
|
Construct an RKTask from the given parameters. The current set of recognized parameters are:
Definition at line 80 of file RKTask.cc. References __XSTRING, microsec_to_timespec(), NULL_RESERVE, RK_NAME_LEN, and Broker::TaskParameters. |
Here is the call graph for this function:

|
|
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.
|
1.3.6