30 #ifndef _RTEMS_RTEMS_RATEMON_H 31 #define _RTEMS_RTEMS_RATEMON_H 58 typedef struct timespec rtems_rate_monotonic_period_time_t RTEMS_DEPRECATED;
90 #define RTEMS_PERIOD_STATUS WATCHDOG_NO_TIMEOUT 106 struct timespec min_cpu_time;
108 struct timespec max_cpu_time;
110 struct timespec total_cpu_time;
113 struct timespec min_wall_time;
115 struct timespec max_wall_time;
117 struct timespec total_wall_time;
135 struct timespec since_last_period;
142 struct timespec executed_since_last_period;
rtems_status_code rtems_rate_monotonic_create(rtems_name name, rtems_id *id)
Create a Period.
Definition: ratemoncreate.c:30
rtems_status_code rtems_rate_monotonic_period(rtems_id id, rtems_interval length)
RTEMS Rate Monotonic Period.
Definition: ratemonperiod.c:305
Watchdog_Interval rtems_interval
Used to manage and manipulate intervals specified by clock ticks.
Definition: types.h:127
rtems_status_code rtems_rate_monotonic_get_status(rtems_id id, rtems_rate_monotonic_period_status *status)
RTEMS Rate Monotonic Get Status.
Definition: ratemongetstatus.c:25
uint32_t rtems_name
Classic API object name type.
Definition: types.h:77
void rtems_rate_monotonic_reset_all_statistics(void)
rtems_rate_monotonic_reset_all_statistics
Definition: ratemonresetall.c:27
uint32_t postponed_jobs_count
Definition: ratemon.h:145
rtems_status_code rtems_rate_monotonic_ident(rtems_name name, rtems_id *id)
RTEMS Rate Monotonic Name to Id.
Definition: ratemonident.c:27
Definition: ratemon.h:123
rtems_status_code
Classic API Status.
Definition: status.h:43
uint32_t missed_count
Definition: ratemon.h:103
uint32_t count
Definition: ratemon.h:101
rtems_id owner
Definition: ratemon.h:125
rtems_status_code rtems_rate_monotonic_reset_statistics(rtems_id id)
RTEMS Rate Monotonic Reset Statistics.
Definition: ratemonresetstatistics.c:24
void rtems_rate_monotonic_report_statistics_with_plugin(const struct rtems_printer *printer)
RTEMS Report Rate Monotonic Statistics.
rtems_status_code rtems_rate_monotonic_cancel(rtems_id id)
RTEMS Rate Monotonic Cancel.
Definition: ratemoncancel.c:49
rtems_rate_monotonic_period_states
Definition: ratemon.h:64
Objects_Id rtems_id
Used to manage and manipulate RTEMS object identifiers.
Definition: types.h:83
rtems_rate_monotonic_period_states state
Definition: ratemon.h:128
rtems_status_code rtems_rate_monotonic_delete(rtems_id id)
RTEMS Delete Rate Monotonic.
Definition: ratemondelete.c:24
rtems_status_code rtems_rate_monotonic_get_statistics(rtems_id id, rtems_rate_monotonic_period_statistics *statistics)
RTEMS Rate Monotonic Get Statistics.
Definition: ratemongetstatistics.c:24
void rtems_rate_monotonic_report_statistics(void)
RTEMS Report Rate Monotonic Statistics.
Definition: ratemonreportstatistics.c:157