The latest development version of this page may be more current than this released 2.7.5 version.

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 kernel/Kconfig:365

Included via Kconfig:8Kconfig.zephyr:40

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.)