Struct std::VirtualClock
struct VirtualClock {
long long now;
long long parked;
}Simulated time: park(t) moves the clock forward by t instead of waiting, so a run takes no real time and is fully deterministic. park(-1) — every task waits and no timer is pending — is a deadlock in a program that has no other threads or interrupts, and panics.
Fields
how many times it parked