Searched refs:sleepUs (Results 1 – 2 of 2) sorted by relevance
812 useconds_t sleepUs = 1; in invalidatorThread() local820 sleepUs = 1; in invalidatorThread()849 sleepUs < MAX_SLEEP_US) { in invalidatorThread()850 sleepUs *= 10; in invalidatorThread()855 ::usleep(sleepUs); in invalidatorThread()
7188 uint32_t sleepUs = 0; in threadLoop() local7219 if (sleepUs > 0) { in threadLoop()7221 mWaitWorkCV.waitRelative(mLock, microseconds((nsecs_t)sleepUs)); in threadLoop()7223 sleepUs = 0; in threadLoop()7267 sleepUs = 10000; in threadLoop()7346 if (sleepUs == 0) { in threadLoop()7347 sleepUs = kRecordThreadSleepUs; in threadLoop()7351 sleepUs = 0; in threadLoop()7456 sleepUs = (sleepFrames * 1000000LL) / mSampleRate; in threadLoop()7547 sleepUs = kRecordThreadSleepUs; in threadLoop()