Definition at line 268 of file Broker.idl.
Public Member Functions | |
void | AddTask (in Task new_task, in ScheduleParameters sp) raises (DuplicateScheduleParameter, InvalidScheduleParameter, MissingScheduleParameter) |
Add a task to an active policy. | |
void | RemoveTask (in Task added_task) |
Remove a task from an active policy. | |
TaskList | GetTaskList () |
void | Activate (in TaskList tasks) |
Activate the policy. | |
void | Deactivate () |
Deactivate an active policy. | |
CPUReserve | ChangeTaskCPU (in RealTimeTask task, in CPUReserve advice) raises (InvalidState) |
float | GetMaxCPUAllocation () |
void | SetMaxCPUAllocation (in float amount) |
Public Attributes | |
readonly attribute string | Name |
The name of the policy. | |
const float | CPU_ALLOCATION_MIN = 0.01 |
The minimum value that can be passed to SetMaxCPUAllocation. | |
const float | CPU_ALLOCATION_MAX = 0.99 |
The maximum value that can be passed to SetMaxCPUAllocation. |
|
Activate the policy. NOTE: The policy is expected to discover and adjust the scheduling parameters of any currently executing tasks.
|
|
Add a task to an active policy. NOTE: This method will be called before the reservation is made, giving the policy a chance to adjust any values.
|
|
|
|
Deactivate an active policy. NOTE: The policy should change any scheduling parameters of the currently executing tasks, the next policy to be activated will handle any changes.
|
|
|
|
|
|
Remove a task from an active policy. NOTE: This method will be called after the reservation has been destroyed, so it can safely reallocate the newly freed CPU time.
|
|
|
|
The maximum value that can be passed to SetMaxCPUAllocation.
Definition at line 370 of file Broker.idl. |
|
The minimum value that can be passed to SetMaxCPUAllocation.
Definition at line 365 of file Broker.idl. |
|
The name of the policy. Mostly useful for debugging. Definition at line 273 of file Broker.idl. |