Home
last modified time | relevance | path

Searched refs:waitTime (Results 1 – 3 of 3) sorted by relevance

/system/libfmq/
DEventFlag.cpp260 void EventFlag::addNanosecondsToCurrentTime(int64_t nanoSeconds, struct timespec* waitTime) { in addNanosecondsToCurrentTime() argument
263 clock_gettime(CLOCK_MONOTONIC, waitTime); in addNanosecondsToCurrentTime()
264 waitTime->tv_sec += nanoSeconds / kNanosPerSecond; in addNanosecondsToCurrentTime()
265 waitTime->tv_nsec += nanoSeconds % kNanosPerSecond; in addNanosecondsToCurrentTime()
267 if (waitTime->tv_nsec >= kNanosPerSecond) { in addNanosecondsToCurrentTime()
268 waitTime->tv_sec++; in addNanosecondsToCurrentTime()
269 waitTime->tv_nsec -= kNanosPerSecond; in addNanosecondsToCurrentTime()
/system/extras/tests/workloads/
Dsystemapps.sh29 waitTime=3.0
41 (-W) waitTime=$2; shift; ret=1;;
182 sleep $waitTime
/system/libfmq/tests/
Dmq_test.cpp226 struct timespec waitTime = {0, 100 * 1000000}; in TEST_F() local
227 ASSERT_EQ(0, nanosleep(&waitTime, NULL)); in TEST_F()
237 ASSERT_EQ(0, nanosleep(&waitTime, NULL)); in TEST_F()