CONFIG_SCHED_THREAD_USAGE_ANALYSIS

Analyze the collected thread runtime usage statistics

Type: bool

Help

Collect additional timing information related to thread scheduling
for analysis purposes. This includes the total time that a thread
has been scheduled, the longest time for which it was scheduled and
others.

Direct dependencies

SCHED_THREAD_USAGE && THREAD_RUNTIME_STATS

(Includes any dependencies from ifs and menus.)

Default

  • n

Symbols selected by this symbol

Kconfig definition

At <Kernel>/Kconfig:391

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_ANALYSIS
    bool "Analyze the collected thread runtime usage statistics"
    default n
    select INSTRUMENT_THREAD_SWITCHING if !USE_SWITCH
    depends on SCHED_THREAD_USAGE && THREAD_RUNTIME_STATS
    help
      Collect additional timing information related to thread scheduling
      for analysis purposes. This includes the total time that a thread
      has been scheduled, the longest time for which it was scheduled and
      others.

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