void rtos_mon_periodic_arch(void)
void rtos_mon_init_arch(void)
Common code for AP and FBW telemetry.
struct rtos_monitoring rtos_mon
void event_sysmon(void)
Analyse event calls.
void periodic_sysmon(void)
Analyse periodic calls Should be run at the highest frequency.
void periodic_report_sysmon(void)
Report system status.
void init_sysmon(void)
Init system monitoring.
System monitoring common header return cpu load, average exec time, ...
System monitoring for RTOS targets return cpu load, average exec time, ...
uint8_t cpu_load
global CPU/MCU load in %
uint32_t core_free_memory
core free memory in bytes
uint32_t heap_free_memory
Total fragmented free memory in the heap.
uint8_t thread_counter
number of threads
uint32_t heap_fragments
Number of fragments in the heap.
uint32_t heap_largest
Largest free block in the heap.
static float get_sys_time_float(void)
Get the time in seconds since startup.