15 using Tick = std::uint64_t;
18 Tick now() const noexcept {
return now_; }
23 void advance_to(
Tick time)
noexcept { now_ = time; }
Cooperative, single-threaded task scheduler.
Definition scheduler.hpp:65
Monotonic virtual time.
Definition clock.hpp:12
Tick now() const noexcept
The current virtual time.
Definition clock.hpp:18
std::uint64_t Tick
Virtual time, in ticks. A tick has no fixed real-world length.
Definition clock.hpp:15