Searched refs:waitTime (Results 1 – 3 of 3) sorted by relevance
257 void EventFlag::addNanosecondsToCurrentTime(int64_t nanoSeconds, struct timespec* waitTime) { in addNanosecondsToCurrentTime() argument260 clock_gettime(CLOCK_MONOTONIC, waitTime); in addNanosecondsToCurrentTime()261 waitTime->tv_sec += nanoSeconds / kNanosPerSecond; in addNanosecondsToCurrentTime()262 waitTime->tv_nsec += nanoSeconds % kNanosPerSecond; in addNanosecondsToCurrentTime()264 if (waitTime->tv_nsec >= kNanosPerSecond) { in addNanosecondsToCurrentTime()265 waitTime->tv_sec++; in addNanosecondsToCurrentTime()266 waitTime->tv_nsec -= kNanosPerSecond; in addNanosecondsToCurrentTime()
29 waitTime=3.041 (-W) waitTime=$2; shift; ret=1;;182 sleep $waitTime
226 struct timespec waitTime = {0, 100 * 1000000}; in TEST_F() local227 ASSERT_EQ(0, nanosleep(&waitTime, NULL)); in TEST_F()237 ASSERT_EQ(0, nanosleep(&waitTime, NULL)); in TEST_F()