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()
7071 uint32_t sleepUs = 0; in threadLoop() local7102 if (sleepUs > 0) { in threadLoop()7104 mWaitWorkCV.waitRelative(mLock, microseconds((nsecs_t)sleepUs)); in threadLoop()7106 sleepUs = 0; in threadLoop()7150 sleepUs = 10000; in threadLoop()7219 if (sleepUs == 0) { in threadLoop()7220 sleepUs = kRecordThreadSleepUs; in threadLoop()7224 sleepUs = 0; in threadLoop()7329 sleepUs = (sleepFrames * 1000000LL) / mSampleRate; in threadLoop()7418 sleepUs = kRecordThreadSleepUs; in threadLoop()