#include <l4/rt_mon/types.h>
Go to the source code of this file.
Functions | |
| EXTERN_C_BEGIN rt_mon_scalar_t * | rt_mon_scalar_create (rt_mon_time_t low, rt_mon_time_t high, const char *name, const char *unit, int clock) |
| Creates a new event_list, allocates memory for it and registers it at the coordinator. | |
| void | rt_mon_scalar_free (rt_mon_scalar_t *scalar) |
| Destroys a scalar, unregisters it at the coordinator and frees its memory. | |
| void | rt_mon_scalar_insert (rt_mon_scalar_t *scalar, rt_mon_time_t data) |
| Insert value into scalar. | |
| rt_mon_time_t | rt_mon_scalar_measure (rt_mon_scalar_t *scalar) |
| Get a time stamp using the timesource specified in scalar. | |
| rt_mon_time_t | rt_mon_scalar_read (rt_mon_scalar_t *scalar) |
| Read current value from scalar. | |
| void | rt_mon_scalar_dump (rt_mon_scalar_t *scalar) |
| Dump the content of the scalar using printf. | |
| EXTERN_C_BEGIN rt_mon_scalar_t* rt_mon_scalar_create | ( | rt_mon_time_t | low, | |
| rt_mon_time_t | high, | |||
| const char * | name, | |||
| const char * | unit, | |||
| int | clock | |||
| ) |
Creates a new event_list, allocates memory for it and registers it at the coordinator.
| low | lower bound for valid values | |
| high | lower bound for valid values | |
| name | name of this scalar | |
| unit | measurement unit of data transported in the scalar | |
| clock | type of time source to use |
| void rt_mon_scalar_dump | ( | rt_mon_scalar_t * | scalar | ) |
Dump the content of the scalar using printf.
| scalar | scalar to dump |
| void rt_mon_scalar_free | ( | rt_mon_scalar_t * | scalar | ) |
Destroys a scalar, unregisters it at the coordinator and frees its memory.
| scalar | scalar to free |
| void rt_mon_scalar_insert | ( | rt_mon_scalar_t * | scalar, | |
| rt_mon_time_t | data | |||
| ) | [inline] |
Insert value into scalar.
| scalar | scalar to operate on | |
| data | value to insert |
| rt_mon_time_t rt_mon_scalar_measure | ( | rt_mon_scalar_t * | scalar | ) | [inline] |
Get a time stamp using the timesource specified in scalar.
| scalar | scalar to get the time source type from |
| rt_mon_time_t rt_mon_scalar_read | ( | rt_mon_scalar_t * | scalar | ) | [inline] |
Read current value from scalar.
| scalar | scalar to get the data from |
1.5.6