Class Clock¶
Defined in File clock.h
Inheritance Relationships¶
Derived Type¶
public mir::time::SteadyClock(Class SteadyClock)
Class Documentation¶
-
class Clock¶
Subclassed by mir::time::SteadyClock
Public Functions
-
virtual ~Clock() = default¶
-
virtual Duration min_wait_until(Timestamp t) const = 0¶
The minimum amount of real time we would have to wait for this clock to reach or surpass the specified timestamp.
For clocks that deal in real time (i.e., most production implementations), this will just be max(t - now(), 0). However, fake clocks may return different durations.
-
virtual ~Clock() = default¶