33 #include "pprzlink/messages.h"
Common code for AP and FBW telemetry.
static uint32_t sum_cycle_periodic
in usec
static uint32_t event_timer
static uint32_t sum_n_event
static uint32_t sum_time_event
in usec
static uint32_t sum_time_periodic
in usec
void event_sysmon(void)
Analyse event calls.
static uint32_t periodic_cycle
static uint16_t n_periodic
static uint32_t min_time_event
in usec
void periodic_sysmon(void)
Analyse periodic calls Should be run at the highest frequency.
struct SysMon sys_mon
Global system monitor data (averaged over 1 sec)
void periodic_report_sysmon(void)
Report system status.
void init_sysmon(void)
Init system monitoring.
static uint32_t periodic_timer
System monitoring common header return cpu load, average exec time, ...
Architecture independent timing functions.
#define SysTimeTimerStart(_t)
static float get_sys_time_float(void)
Get the time in seconds since startup.
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.