The latest development version of this page may be more current than this released 1.14.0 version.
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 if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/debug/Kconfig:16

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

Menu path: (top menu) → System Monitoring Options

config BOOT_TIME_MEASUREMENT
    bool
    prompt "Boot time measurements [EXPERIMENTAL]" if PERFORMANCE_METRICS
    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.

(Definitions include propagated dependencies, including from if’s and menus.)