|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
System monitoring common header return cpu load, average exec time, ... More...
#include "std.h"Go to the source code of this file.
Functions | |
| void | init_sysmon (void) |
| Init system monitoring. | |
| void | periodic_report_sysmon (void) |
| Report system status. | |
| void | periodic_sysmon (void) |
| Analyse periodic calls Should be run at the highest frequency. | |
| void | event_sysmon (void) |
| Analyse event calls. | |
System monitoring common header return cpu load, average exec time, ...
System monitoring return cpu load, average exec time, ...
Definition in file sys_mon.h.
| void event_sysmon | ( | void | ) |
Analyse event calls.
Store event calls total time and number of calls between two periodic calls
Definition at line 65 of file rtos_mon.c.
References event_timer, min_time_event, n_event, sum_time_event, SysTimeTimer, and SysTimeTimerStart.
| void init_sysmon | ( | void | ) |
Init system monitoring.
Definition at line 32 of file rtos_mon.c.
References min_time_event, n_event, n_periodic, periodic_timer, rtos_mon, rtos_mon_init_arch(), sum_cycle_periodic, sum_n_event, sum_time_event, sum_time_periodic, and sys_mon.
| void periodic_report_sysmon | ( | void | ) |
Report system status.
Report system status at low frequency
Definition at line 43 of file rtos_mon.c.
References DefaultChannel, DefaultDevice, get_sys_time_float(), n_periodic, rtos_mon, rtos_mon_periodic_arch(), sum_cycle_periodic, sum_n_event, sum_time_periodic, and sys_mon.
| void periodic_sysmon | ( | void | ) |
Analyse periodic calls Should be run at the highest frequency.
Estimate periodic task cycle time
Definition at line 63 of file rtos_mon.c.
References min_time_event, n_event, n_periodic, periodic_cycle, periodic_timer, sum_cycle_periodic, sum_n_event, sum_time_event, sum_time_periodic, sys_mon, SysTimeTimer, and SysTimeTimerStart.