Searched refs:expectTime (Results 1 – 1 of 1) sorted by relevance
43 static int SleepTest(int64_t expectTime) in SleepTest() argument54 tp.tv_sec = expectTime / static_cast<long>(1e9); in SleepTest()55 tp.tv_nsec = expectTime % static_cast<long>(1e9); in SleepTest()64 …t time (expected --> actual): %" PRId64 "ns --> %" PRId64 "ns, delta: %" PRId64 "ns\n", expectTime, in SleepTest()65 escapeTime, escapeTime - expectTime); in SleepTest()67 g_failCnt += (escapeTime < expectTime); in SleepTest()