Returns the number of microseconds that have passed since the Unix epoch. This is affected by manual changes to the system clock but is more suitable for use across a cluster. For more accurate timings on the local host use the monotonic functions above.
| 76 | /// a cluster. For more accurate timings on the local host use the monotonic functions |
| 77 | /// above. |
| 78 | inline int64_t UnixMicros() { |
| 79 | return GetCurrentTimeMicros(); |
| 80 | } |
| 81 | |
| 82 | /// Sleeps the current thread for at least duration_ms milliseconds. |
| 83 | void SleepForMs(const int64_t duration_ms); |