CONFIG_SCHED_THREAD_USAGE_AUTO_ENABLE

Automatically enable runtime usage statistics

Type: bool

Help

When set, this option automatically enables the gathering of both
the thread and CPU usage statistics.

Direct dependencies

SCHED_THREAD_USAGE && THREAD_RUNTIME_STATS

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Kernel>/Kconfig:409

Included via Kconfig:8Kconfig.zephyr:40

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

config SCHED_THREAD_USAGE_AUTO_ENABLE
    bool "Automatically enable runtime usage statistics"
    default y
    depends on SCHED_THREAD_USAGE && THREAD_RUNTIME_STATS
    help
      When set, this option automatically enables the gathering of both
      the thread and CPU usage statistics.

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