CONFIG_SCHED_THREAD_USAGE_ALL

Collect total system runtime usage

Type: bool

Help

Maintain a sum of all non-idle thread cycle usage.

Direct dependencies

SCHED_THREAD_USAGE && THREAD_RUNTIME_STATS

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

At <Zephyr>/kernel/Kconfig:391

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

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

config SCHED_THREAD_USAGE_ALL
    bool "Collect total system runtime usage"
    default y if SCHED_THREAD_USAGE
    depends on SCHED_THREAD_USAGE && THREAD_RUNTIME_STATS
    help
      Maintain a sum of all non-idle thread cycle usage.

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