![]() |
RTEMS 6.3
|
This group contains the Rate Monotonic Manager implementation. More...
Data Structures | |
| struct | Rate_monotonic_Statistics |
| struct | Rate_monotonic_Control |
| The following structure defines the control block used to manage each period. More... | |
Macros | |
| #define | RATE_MONOTONIC_INFORMATION_DEFINE(max) |
| Macro to define the objects information for the Classic Rate Monotonic objects. | |
| #define | RATE_MONOTONIC_INTEND_TO_BLOCK ( THREAD_WAIT_CLASS_PERIOD | THREAD_WAIT_STATE_INTEND_TO_BLOCK ) |
| #define | RATE_MONOTONIC_BLOCKED ( THREAD_WAIT_CLASS_PERIOD | THREAD_WAIT_STATE_BLOCKED ) |
Functions | |
| void | _Rate_monotonic_Timeout (Watchdog_Control *watchdog) |
| void | _Rate_monotonic_Get_status (const Rate_monotonic_Control *the_period, Timestamp_Control *wall_since_last_period, Timestamp_Control *cpu_since_last_period) |
| Gets the rate monotonic CPU usage status. | |
| void | _Rate_monotonic_Restart (Rate_monotonic_Control *the_period, Thread_Control *owner, ISR_lock_Context *lock_context) |
| void | _Rate_monotonic_Cancel (Rate_monotonic_Control *the_period, Thread_Control *owner, ISR_lock_Context *lock_context) |
Variables | |
| Objects_Information | _Rate_monotonic_Information |
| The Classic Rate Monotonic objects information. | |
This group contains the Rate Monotonic Manager implementation.
| #define RATE_MONOTONIC_INFORMATION_DEFINE | ( | max | ) |
Macro to define the objects information for the Classic Rate Monotonic objects.
This macro should only be used by <rtems/confdefs.h>.
| max | The configured object maximum (the OBJECTS_UNLIMITED_OBJECTS flag may be set). |
| void _Rate_monotonic_Get_status | ( | const Rate_monotonic_Control * | the_period, |
| Timestamp_Control * | wall_since_last_period, | ||
| Timestamp_Control * | cpu_since_last_period ) |
Gets the rate monotonic CPU usage status.
This routine is invoked to compute the elapsed wall time and cpu time for a period.
| [in] | the_period | points to the period being operated upon. |
| [out] | wall_since_last_period | is set to the wall time elapsed since the period was initiated. |
| [out] | cpu_since_last_period | is set to the cpu time used by the owning thread since the period was initiated. |