CONFIG_QEMU_ICOUNT_SLEEP

QEMU icount sleep mode enable

Type: bool

Help

When the virtual CPU is sleeping, the virtual time will advance
at default speed unless this option is set. With this option set,
the virtual time will jump to the next timer deadline instantly
whenever the virtual CPU goes to sleep mode and will not advance
if no timer is enabled. This behavior gives deterministic execution
times from the guest point of view.

Direct dependencies

(QEMU_ICOUNT && BOARD_QEMU_CORTEX_A9) || QEMU_ICOUNT

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definitions

At <Zephyr>/boards/arm/qemu_cortex_a9/Kconfig.defconfig:75

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

Menu path: (Top)

config QEMU_ICOUNT_SLEEP
    bool
    default y
    depends on QEMU_ICOUNT && BOARD_QEMU_CORTEX_A9

At <Zephyr>/boards/Kconfig:57

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

Menu path: (Top) → Board Options → QEMU icount mode

config QEMU_ICOUNT_SLEEP
    bool "QEMU icount sleep mode enable"
    depends on QEMU_ICOUNT
    help
      When the virtual CPU is sleeping, the virtual time will advance
      at default speed unless this option is set. With this option set,
      the virtual time will jump to the next timer deadline instantly
      whenever the virtual CPU goes to sleep mode and will not advance
      if no timer is enabled. This behavior gives deterministic execution
      times from the guest point of view.

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