:orphan: .. title:: CONFIG_SCHED_THREAD_USAGE_AUTO_ENABLE .. kconfig:: CONFIG_SCHED_THREAD_USAGE_AUTO_ENABLE CONFIG_SCHED_THREAD_USAGE_AUTO_ENABLE ##################################### *Automatically enable runtime usage statistics* Type: ``bool`` Help ==== .. code-block:: none When set, this option automatically enables the gathering of both the thread and CPU usage statistics. Direct dependencies =================== \ :kconfig:`SCHED_THREAD_USAGE ` && \ :kconfig:`THREAD_RUNTIME_STATS ` *(Includes any dependencies from ifs and menus.)* Default ======= - y Kconfig definition ================== At ``/Kconfig:409`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:40`` Menu path: (Top) → General Kernel Options → Kernel Debugging and Metrics → Thread runtime statistics → Collect thread runtime usage .. code-block:: kconfig 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.)*