software:firmware
MakAir Firmware
|
A CPU load estimation. More...
Go to the source code of this file.
Macros | |
#define | CPU_MAX_LOOP_PER_SECOND 8327007u |
Functions | |
uint8_t | readCpuLoadPercent (void) |
Get the value of the CPU load. More... | |
void | cpuLoadCallback (void) |
void | osSystickHandler () |
Variables | |
volatile uint32_t | idleCyclesCount = 0 |
Access to idleCyclesCount needed by the COUNT_IDLE_CYCLE macro. More... | |
volatile uint8_t | cpuLoadPercent = 0 |
uint16_t | cpuLoadTimeCount = TIME_CPU_CYCLE_RESET |
uint32_t | cpuLoadLatestCycleCount = 0 |
#define CPU_MAX_LOOP_PER_SECOND 8327007u |
Definition at line 35 of file cpu_load.cpp.
void cpuLoadCallback | ( | void | ) |
Definition at line 41 of file cpu_load.cpp.
void osSystickHandler | ( | ) |
Definition at line 61 of file cpu_load.cpp.
uint8_t readCpuLoadPercent | ( | void | ) |
Get the value of the CPU load.
Definition at line 39 of file cpu_load.cpp.
uint32_t cpuLoadLatestCycleCount = 0 |
Definition at line 30 of file cpu_load.cpp.
volatile uint8_t cpuLoadPercent = 0 |
Definition at line 25 of file cpu_load.cpp.
uint16_t cpuLoadTimeCount = TIME_CPU_CYCLE_RESET |
Definition at line 28 of file cpu_load.cpp.
volatile uint32_t idleCyclesCount = 0 |
Access to idleCyclesCount needed by the COUNT_IDLE_CYCLE macro.
Definition at line 22 of file cpu_load.cpp.