-
CONFIG_BOOT_TIME_MEASUREMENT
¶
Boot time measurements [EXPERIMENTAL]
Type: bool
Help¶
This option enables the recording of timestamps during system start up. The global variable __start_time_stamp records the time kernel begins executing, while __main_time_stamp records when main() begins executing, and __idle_time_stamp records when the CPU becomes idle. All values are recorded in terms of CPU clock cycles since system reset.
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At subsys/debug/Kconfig:16
Included via Kconfig:10
→ Kconfig.zephyr:39
→ subsys/Kconfig:14
Menu path: (top menu) → System Monitoring Options
config BOOT_TIME_MEASUREMENT bool prompt "Boot time measurements [EXPERIMENTAL]" ifPERFORMANCE_METRICS
depends onPERFORMANCE_METRICS
help This option enables the recording of timestamps during system start up. The global variable __start_time_stamp records the time kernel begins executing, while __main_time_stamp records when main() begins executing, and __idle_time_stamp records when the CPU becomes idle. All values are recorded in terms of CPU clock cycles since system reset.
(Definitions include propagated dependencies, including from if’s and menus.)