CONFIG_THREAD_RUNTIME_STATS

Thread runtime statistics

Type: bool

Help

Gather thread runtime statistics.

For example:
  • Thread total execution cycles

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Symbols that select this symbol

Kconfig definition

At <Zephyr>/kernel/Kconfig:358

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:30

Menu path: (Top) → General Kernel Options → Kernel Debugging and Metrics

menuconfig THREAD_RUNTIME_STATS
    bool "Thread runtime statistics"
    select INSTRUMENT_THREAD_SWITCHING
    help
      Gather thread runtime statistics.

      For example:
        - Thread total execution cycles

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