RTEMS CPU Kit with SuperCore  4.11.3
Data Structures | Macros | Typedefs | Enumerations | Functions
ratemon.h File Reference
#include <rtems/rtems/types.h>
#include <rtems/rtems/status.h>
#include <rtems/score/thread.h>
#include <rtems/score/watchdog.h>
#include <rtems/bspIo.h>
#include <rtems/score/timespec.h>
#include <rtems/score/timestamp.h>
Include dependency graph for ratemon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rtems_rate_monotonic_period_statistics
 The following defines the PUBLIC data structure that has the statistics kept on each period instance. More...
 
struct  Rate_monotonic_Statistics
 The following defines the INTERNAL data structure that has the statistics kept on each period instance. More...
 
struct  rtems_rate_monotonic_period_status
 The following defines the period status structure. More...
 
struct  Rate_monotonic_Control
 The following structure defines the control block used to manage each period. More...
 

Macros

#define RTEMS_PERIOD_STATUS   WATCHDOG_NO_TIMEOUT
 The following constant is the interval passed to the rate_monontonic_period directive to obtain status information.
 

Typedefs

typedef struct timespec rtems_rate_monotonic_period_time_t
 This is the public type used for the rate monotonic timing statistics.
 
typedef Timestamp_Control Rate_monotonic_Period_time_t
 This is the internal type used for the rate monotonic timing statistics.
 

Enumerations

enum  rtems_rate_monotonic_period_states {
  RATE_MONOTONIC_INACTIVE, RATE_MONOTONIC_OWNER_IS_BLOCKING, RATE_MONOTONIC_ACTIVE, RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING,
  RATE_MONOTONIC_EXPIRED
}
 The following enumerated type defines the states in which a period may be. More...
 

Functions

rtems_status_code rtems_rate_monotonic_create (rtems_name name, rtems_id *id)
 Create a Period. More...
 
rtems_status_code rtems_rate_monotonic_ident (rtems_name name, rtems_id *id)
 RTEMS Rate Monotonic Name to Id. More...
 
rtems_status_code rtems_rate_monotonic_cancel (rtems_id id)
 RTEMS Rate Monotonic Cancel. More...
 
rtems_status_code rtems_rate_monotonic_delete (rtems_id id)
 RTEMS Delete Rate Monotonic. More...
 
rtems_status_code rtems_rate_monotonic_get_status (rtems_id id, rtems_rate_monotonic_period_status *status)
 RTEMS Rate Monotonic Get Status. More...
 
rtems_status_code rtems_rate_monotonic_get_statistics (rtems_id id, rtems_rate_monotonic_period_statistics *statistics)
 RTEMS Rate Monotonic Get Statistics. More...
 
rtems_status_code rtems_rate_monotonic_reset_statistics (rtems_id id)
 RTEMS Rate Monotonic Reset Statistics. More...
 
void rtems_rate_monotonic_reset_all_statistics (void)
 rtems_rate_monotonic_reset_all_statistics More...
 
void rtems_rate_monotonic_report_statistics_with_plugin (void *context, rtems_printk_plugin_t print)
 RTEMS Report Rate Monotonic Statistics. More...
 
void rtems_rate_monotonic_report_statistics (void)
 RTEMS Report Rate Monotonic Statistics. More...
 
rtems_status_code rtems_rate_monotonic_period (rtems_id id, rtems_interval length)
 RTEMS Rate Monotonic Period. More...