| 57 | } |
| 58 | |
| 59 | inline std::int64_t ToInt64Nanoseconds(const Duration& duration) { |
| 60 | return std::chrono::duration_cast< |
| 61 | std::chrono::duration<std::int64_t, std::nano>>(duration) |
| 62 | .count(); |
| 63 | } |
| 64 | |
| 65 | inline TimePoint Now() { return InternalDefaultClock::now(); } |
| 66 |