|
ravel
Deterministic simulation testing for C++. Seed a bug, replay it exact.
|
Monotonic virtual time. More...
#include <clock.hpp>
Public Types | |
| using | Tick = std::uint64_t |
| Virtual time, in ticks. A tick has no fixed real-world length. | |
Public Member Functions | |
| Tick | now () const noexcept |
| The current virtual time. | |
Friends | |
| class | Scheduler |
Monotonic virtual time.
It never touches the wall clock, so a run is reproducible regardless of host speed or load, and only the Scheduler can move it forward.