

Public Member Functions | |
| BasicDelegate (const char *name, unsigned long period, unsigned long deadline) | |
| Construct a BasicDelegate with the given values. | |
| virtual | ~BasicDelegate () |
| Deconstruct a BasicDelegate. | |
| virtual rk_stub_precall_retval_t | precall (void) |
| Premethod callback that just records the current time. | |
| virtual void | postcall (void) |
| Postmethod callback that computes how many deadlines have been missed and reports the results to bd_Advocate. | |
Public Attributes | |
| Broker::TaskParameters | bd_TaskDescription |
| TaskParameters constructed by the object that can be passed on to Broker::TaskFactory::CreateTask. | |
| Broker::ScheduleParameters | bd_CPUSchedule |
| ScheduleParameters constructed by the object that can be passed on to Broker::Task::BeginScheduling. | |
| Broker::RealTimeAdvocate_var | bd_Advocate |
| The process' advocate, this must be set by the code using the object. | |
Protected Attributes | |
| unsigned long | bd_Period |
| The period of the process in microseconds. | |
| unsigned long | bd_Deadline |
| The deadline of the process in microseconds and relative to the start of the period. | |
| int | bd_AdviseDrop |
| The number of data segments to drop in order to get back on schedule. | |
| pid_t | bd_PID |
| The simulated process ID. | |
| timespec | bd_Start |
| The "method" starting time as recorded by precall(). | |
| rusage | bd_RUStart |
| The resource usage at the "method" starting time. | |
|
||||||||||||||||
|
Construct a BasicDelegate with the given values. This includes:
|
|
|
Premethod callback that just records the current time.
Implements Delegate. Reimplemented in ContractDelegate. |
|
|
The number of data segments to drop in order to get back on schedule. This will be set by postcall() when it detects how many deadlines have been missed. |
|
|
The process' advocate, this must be set by the code using the object. The user must also call Broker::Task::BeginCPUScheduling and Broker::Task::EndCPUScheduling. |
1.3.4