| 33 | return frequency == 0.0 ? 0.0 : 1.0 / frequency; |
| 34 | } |
| 35 | void SpinWaitUntilTimestamp(int64_t timestamp) noexcept |
| 36 | { |
| 37 | while (GetCurrentTimestamp() < timestamp) { |
| 38 | std::this_thread::yield(); |
| 39 | } |
| 40 | } |
| 41 | double TimestampDeltaToSeconds(int64_t start, int64_t end, double period) noexcept |
| 42 | { |
| 43 | return double(end - start) * period; |
nothing calls this directly
no test coverage detected