id: virtual-clock-modes topic: runtime title: The virtual clock — realtime, accelerated, and instant runs pins: - tests/test_virtual_time.py::test_instant_mode_advances_virtual_time verified: flua 0.1.166


The virtual clock — realtime, accelerated, and instant runs

Everything a QA waits for schedules against the engine's virtual clock; the mode decides how fast it advances:

os.time()/millitime read the virtual clock, so os.time()-relative delay math (event engines, sunset math) stays coherent in every mode. A debugger pause does not advance virtual time.