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