34 if ( period_status == NULL ) {
38 the_period = _Rate_monotonic_Get(
id, &lock_context );
39 if ( the_period == NULL ) {
43 _Rate_monotonic_Acquire_critical( the_period, &lock_context );
66 &wall_since_last_period,
67 &cpu_since_last_period
71 &wall_since_last_period,
75 &cpu_since_last_period,
84 _Rate_monotonic_Release( the_period, &lock_context );
int64_t Timestamp_Control
uint32_t postponed_jobs_count
This member is.
This status code indicates successful completion.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
#define _Timespec_Set_to_zero(_time)
Sets the Timespec to Zero.
bool _Rate_monotonic_Get_status(const Rate_monotonic_Control *the_period, Timestamp_Control *wall_since_last_period, Timestamp_Control *cpu_since_last_period)
_Rate_monotonic_Get_status(
rtems_rate_monotonic_period_states state
This status code indicates that a specified address was invalid.
The following structure defines the control block used to manage each period.
rtems_id owner
This member is.
This status code indicates that the item has not been initialized.
This status code indicates that an object identifier was invalid.
Objects_Id rtems_id
Values of this type identify an RTEMS object.
static __inline__ void _Timestamp_To_timespec(const Timestamp_Control *_timestamp, struct timespec *_timespec)
Converts timestamp to struct timespec.
Classic Rate Monotonic Scheduler Implementation.
struct timespec since_last_period
This member is.
rtems_rate_monotonic_period_states state
This member is.
Local ISR lock context for acquire and release pairs.
struct timespec executed_since_last_period
This member is.
rtems_status_code rtems_rate_monotonic_get_status(rtems_id id, rtems_rate_monotonic_period_status *period_status)
%