:orphan: .. title:: CONFIG_SCHED_THREAD_USAGE .. kconfig:: CONFIG_SCHED_THREAD_USAGE CONFIG_SCHED_THREAD_USAGE ######################### *Collect thread runtime usage* Type: ``bool`` Help ==== .. code-block:: none Collect thread runtime info at context switch time Direct dependencies =================== \ :kconfig:`THREAD_RUNTIME_STATS ` *(Includes any dependencies from ifs and menus.)* Default ======= - y Symbols selected by this symbol =============================== - \ :kconfig:`INSTRUMENT_THREAD_SWITCHING ` if !\ :kconfig:`USE_SWITCH ` Kconfig definition ================== At ``/Kconfig:384`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:40`` Menu path: (Top) → General Kernel Options → Kernel Debugging and Metrics → Thread runtime statistics .. code-block:: kconfig 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.)*