|
HikoGUI
A low latency retained GUI
|
#include <TTauri/Foundation/sync_clock.hpp>
Static Public Member Functions | |
| static time_point | convert (typename fast_clock::time_point fast_time) noexcept |
| static duration | convert (typename fast_clock::duration fast_duration) noexcept |
| static time_point | now () noexcept |
Static Public Attributes | |
| static const bool | is_steady = slow_clock::is_steady |
A clock which converts one clock to another clock. The new clock is similar to C1 (slow clock), except that leap seconds from C1 are filtered out. Leap seconds are filtered out because calibration to the slow clock does not happen often enough to react in-time to a leap second.
This clock is most often used to convert a cpu_counter_clock to a hires_tai_clock.
| C1 | A clock with known epoch and known frequency. |
| C2 | A monotonic clock which may have an unknown epoch and/or unknown frequency. |
|
inlinestaticnoexcept |
Return a timestamp from a clock.