CONFIG_TIMEOUT_64BIT

Store kernel timeouts in 64 bit precision

Type: bool

Help

When this option is true, the k_ticks_t values passed to kernel APIs will be a 64 bit quantity, allowing the use of larger values (and higher precision tick rates) without fear of overflowing the 32 bit word. This feature also gates the availability of absolute timeout values (which require the extra precision).

Direct dependencies

!LEGACY_TIMEOUT_API

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/kernel/Kconfig:611

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:30

Menu path: (Top) → General Kernel Options

config TIMEOUT_64BIT
    bool "Store kernel timeouts in 64 bit precision"
    default y
    depends on !LEGACY_TIMEOUT_API
    help
      When this option is true, the k_ticks_t values passed to
      kernel APIs will be a 64 bit quantity, allowing the use of
      larger values (and higher precision tick rates) without fear
      of overflowing the 32 bit word.  This feature also gates the
      availability of absolute timeout values (which require the
      extra precision).

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