Searched refs:sleepUs (Results 1 – 2 of 2) sorted by relevance
807 useconds_t sleepUs = 1; in invalidatorThread() local815 sleepUs = 1; in invalidatorThread()844 sleepUs < MAX_SLEEP_US) { in invalidatorThread()845 sleepUs *= 10; in invalidatorThread()850 ::usleep(sleepUs); in invalidatorThread()
7065 uint32_t sleepUs = 0; in threadLoop() local7096 if (sleepUs > 0) { in threadLoop()7098 mWaitWorkCV.waitRelative(mLock, microseconds((nsecs_t)sleepUs)); in threadLoop()7100 sleepUs = 0; in threadLoop()7144 sleepUs = 10000; in threadLoop()7213 if (sleepUs == 0) { in threadLoop()7214 sleepUs = kRecordThreadSleepUs; in threadLoop()7218 sleepUs = 0; in threadLoop()7323 sleepUs = (sleepFrames * 1000000LL) / mSampleRate; in threadLoop()7412 sleepUs = kRecordThreadSleepUs; in threadLoop()