:orphan: .. title:: CONFIG_THREAD_RUNTIME_STATS .. kconfig:: CONFIG_THREAD_RUNTIME_STATS CONFIG_THREAD_RUNTIME_STATS ########################### *Thread runtime statistics* Type: ``bool`` Help ==== .. code-block:: none Gather thread runtime statistics. For example: - Thread total execution cycles Defaults ======== No defaults. Implicitly defaults to ``n``. Symbols selected by this symbol =============================== - \ :kconfig:`INSTRUMENT_THREAD_SWITCHING ` Symbols that select this symbol =============================== - \ :kconfig:`THREAD_ANALYZER ` Kconfig definition ================== At ``/Kconfig:365`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:40`` Menu path: (Top) → General Kernel Options → Kernel Debugging and Metrics .. code-block:: kconfig menuconfig THREAD_RUNTIME_STATS bool "Thread runtime statistics" select INSTRUMENT_THREAD_SWITCHING help Gather thread runtime statistics. For example: - Thread total execution cycles *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*