Class SteadyClock¶
Defined in File steady_clock.h
Inheritance Relationships¶
Base Type¶
public mir::time::Clock(Class Clock)
Class Documentation¶
-
class SteadyClock : public mir::time::Clock¶
Public Functions
-
virtual Duration min_wait_until(Timestamp t) const override¶
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 Duration min_wait_until(Timestamp t) const override¶