Common/Timer: Add SleepUntil() method

This commit is contained in:
Connor McLaughlin
2021-01-28 20:11:31 +10:00
parent ed4ed259e3
commit 9316ce532b
2 changed files with 80 additions and 54 deletions

View File

@ -20,6 +20,7 @@ public:
static void BusyWait(std::uint64_t ns);
static void HybridSleep(std::uint64_t ns, std::uint64_t min_sleep_time = UINT64_C(2000000));
static void NanoSleep(std::uint64_t ns);
static void SleepUntil(Value value, bool exact);
void Reset();