CONFIG_PERCEPIO_RECORDER_CFG_CTRL_TASK_DELAY

Control Task Delay

Type: int

Help

The delay between loops of the TzCtrl task (see TRC_CFG_CTRL_TASK_PRIORITY),
which affects the frequency of the stack monitoring.

In streaming mode, this also affects the trace data transfer if you are using
a stream port leveraging the internal buffer (like TCP/IP). A shorter delay
increases the CPU load of TzCtrl somewhat, but may improve the performance of
of the trace streaming, especially if the trace buffer is small.

Direct dependencies

TRACING_STACK && !PERCEPIO_RECORDER_CFG_SCHEDULING_ONLY && PERCEPIO_TRACERECORDER

(Includes any dependencies from ifs and menus.)

Default

  • 10

Kconfig definition

At /home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/debug/TraceRecorder/kernelports/Zephyr/Kconfig:149

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:6<BuildDir>/kconfig/Kconfig.modules:56

Menu path: (Top) → Modules → TraceRecorder (/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/debug/TraceRecorder) → Percepio Trace Recorder

config PERCEPIO_RECORDER_CFG_CTRL_TASK_DELAY
    int "Control Task Delay"
    range 1 1000000000
    default 10
    depends on TRACING_STACK && !PERCEPIO_RECORDER_CFG_SCHEDULING_ONLY && PERCEPIO_TRACERECORDER
    help
      The delay between loops of the TzCtrl task (see TRC_CFG_CTRL_TASK_PRIORITY),
      which affects the frequency of the stack monitoring.

      In streaming mode, this also affects the trace data transfer if you are using
      a stream port leveraging the internal buffer (like TCP/IP). A shorter delay
      increases the CPU load of TzCtrl somewhat, but may improve the performance of
      of the trace streaming, especially if the trace buffer is small.

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