| 34 | } |
| 35 | |
| 36 | const uint64_t Time::GetSteadyClockMS() { |
| 37 | auto now_time = chrono::steady_clock::now(); |
| 38 | uint64_t now = (chrono::duration_cast<chrono::milliseconds>(now_time.time_since_epoch())).count(); |
| 39 | return now; |
| 40 | } |
| 41 | |
| 42 | void Time::MsSleep(const int time_ms) { |
| 43 | timespec t; |
nothing calls this directly
no outgoing calls
no test coverage detected