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.

Direct dependencies

PERFORMANCE_METRICS

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/debug/Kconfig:16

Included via Kconfig:10Kconfig.zephyr:44subsys/Kconfig:14

Menu path: (Top) → System Monitoring Options → Enable performance metrics [EXPERIMENTAL]

config BOOT_TIME_MEASUREMENT
    bool "Boot time measurements [EXPERIMENTAL]"
    depends on PERFORMANCE_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.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)