7#ifndef ZEPHYR_INCLUDE_DEBUG_CPU_LOAD_H_
8#define ZEPHYR_INCLUDE_DEBUG_CPU_LOAD_H_
void cpu_load_on_enter_idle(void)
Hook called by the application specific hook on entering CPU idle.
void(* cpu_load_cb_t)(uint8_t percent)
Definition cpu_load.h:58
void cpu_load_on_exit_idle(void)
Hook called by the application specific hook on exiting CPU idle.
void cpu_load_log_control(bool enable)
Control periodic CPU statistics report.
int cpu_load_cb_reg(cpu_load_cb_t cb, uint8_t threshold_percent)
Optional registration of callback when load is greater or equal to the threshold.
int cpu_load_get(bool reset)
Get CPU load.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88