19 #ifndef MIR_TIME_CLOCK_H_
20 #define MIR_TIME_CLOCK_H_
29 typedef std::chrono::high_resolution_clock::time_point
Timestamp;
30 typedef std::chrono::high_resolution_clock::duration
Duration;
35 virtual ~Clock() =
default;
37 virtual Timestamp
sample()
const = 0;
45 #endif // MIR_TIME_CLOCK_H_
virtual Timestamp sample() const =0
All things Mir.
Definition: aging_buffer.h:24
std::chrono::high_resolution_clock::time_point Timestamp
Definition: clock.h:29
std::chrono::high_resolution_clock::duration Duration
Definition: clock.h:30