39 FILE *cmd = popen(
"ps -C simsitl -o %CPU",
"r");
42 ret = fgets(line,
sizeof(line), cmd);
43 ret = fgets(line,
sizeof(line), cmd);
45 double cpu = atof(ret);
void rtos_mon_periodic_arch(void)
void rtos_mon_init_arch(void)
struct rtos_monitoring rtos_mon
System monitoring for RTOS targets return cpu load, average exec time, ...
uint8_t cpu_load
global CPU/MCU load in %
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.