CONFIG_TIMESLICE_SIZE

Time slice size (in ms)

Type: int

Help

This option specifies the maximum amount of time a thread can execute before other threads of equal priority are given an opportunity to run. A time slice size of zero means “no limit” (i.e. an infinitely large time slice).

Direct dependencies

TIMESLICING

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At kernel/Kconfig:425

Included via Kconfig:10Kconfig.zephyr:31

Menu path: (top menu) → General Kernel Options → Timer API Options → Thread time slicing

config TIMESLICE_SIZE
    int
    prompt "Time slice size (in ms)" if TIMESLICING
    range 0 2147483647 if TIMESLICING
    default 0 if TIMESLICING
    depends on TIMESLICING
    help
      This option specifies the maximum amount of time a thread can execute
      before other threads of equal priority are given an opportunity to run.
      A time slice size of zero means "no limit" (i.e. an infinitely large
      time slice).

(Definitions include propagated dependencies, including from if’s and menus.)