RTEMS
5.1
|
The following structure defines the control block used to manage each period. More...
#include <ratemondata.h>
Data Fields | |
Objects_Control | Object |
Watchdog_Control | Timer |
Protects the rate monotonic period state. More... | |
rtems_rate_monotonic_period_states | state |
Priority_Node | Priority |
A priority node for use by the scheduler job release and cancel operations. | |
uint32_t | next_length |
Thread_Control * | owner |
Timestamp_Control | cpu_usage_period_initiated |
Timestamp_Control | time_period_initiated |
Rate_monotonic_Statistics | Statistics |
uint32_t | postponed_jobs |
uint64_t | latest_deadline |
The following structure defines the control block used to manage each period.
State changes are protected by the default thread lock of the owner thread. The owner thread is the thread that created the period object. The owner thread field is immutable after object creation.
Timestamp_Control Rate_monotonic_Control::cpu_usage_period_initiated |
This field contains the cpu usage value of the owning thread when the period was initiated. It is used to compute the period's statistics.
uint64_t Rate_monotonic_Control::latest_deadline |
This field contains the tick of the latest deadline decided by the period watchdog.
uint32_t Rate_monotonic_Control::next_length |
This field contains the length of the next period to be executed.
Objects_Control Rate_monotonic_Control::Object |
This field is the object management portion of a Period instance.
Thread_Control* Rate_monotonic_Control::owner |
This field contains a pointer to the TCB for the thread which owns and uses this period instance.
uint32_t Rate_monotonic_Control::postponed_jobs |
This field contains the number of postponed jobs. When the watchdog timeout, this variable will be increased immediately.
rtems_rate_monotonic_period_states Rate_monotonic_Control::state |
This field indicates the current state of the period.
Rate_monotonic_Statistics Rate_monotonic_Control::Statistics |
This field contains the statistics maintained for the period.
Timestamp_Control Rate_monotonic_Control::time_period_initiated |
This field contains the wall time value when the period was initiated. It is used to compute the period's statistics.
Watchdog_Control Rate_monotonic_Control::Timer |
Protects the rate monotonic period state.
This is the timer used to provide the unblocking mechanism.