13 #include "../includes/cpu_load.h"
35 #define CPU_MAX_LOOP_PER_SECOND 8327007u
uint32_t cpuLoadLatestCycleCount
#define CPU_MAX_LOOP_PER_SECOND
volatile uint32_t idleCyclesCount
Access to idleCyclesCount needed by the COUNT_IDLE_CYCLE macro.
uint8_t readCpuLoadPercent(void)
Get the value of the CPU load.
volatile uint8_t cpuLoadPercent
void cpuLoadCallback(void)
uint16_t cpuLoadTimeCount
#define TIME_CPU_CYCLE_RESET
Duration in ms after which the CPU cycle count is reset and the result is stored.