CONFIG_SCHED_THREAD_USAGE

Collect thread runtime usage

Type: bool

Help

Collect thread runtime info at context switch time

Direct dependencies

THREAD_RUNTIME_STATS

(Includes any dependencies from ifs and menus.)

Default

  • y

Symbols selected by this symbol

Kconfig definition

At <Kernel>/Kconfig:384

Included via Kconfig:8Kconfig.zephyr:40

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

config SCHED_THREAD_USAGE
    bool "Collect thread runtime usage"
    default y
    select INSTRUMENT_THREAD_SWITCHING if !USE_SWITCH
    depends on THREAD_RUNTIME_STATS
    help
      Collect thread runtime info at context switch time

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