Searched refs:nextWakeup (Results 1 – 4 of 4) sorted by relevance
54 nsecs_t nextWakeup; in waitForWork() local57 nextWakeup = mQueue.nextWakeup(lock); in waitForWork()60 if (nextWakeup < std::numeric_limits<nsecs_t>::max()) { in waitForWork()61 timeout = ns2ms(nextWakeup - WorkQueue::clock::now()); in waitForWork()
48 nsecs_t nextWakeup = mQueue.nextWakeup(lock); in waitForWork() local50 if (nextWakeup < std::numeric_limits<nsecs_t>::max()) { in waitForWork()51 int timeout = nextWakeup - WorkQueue::clock::now(); in waitForWork()
126 long nextWakeup = 0; in getNextWakeupDeliveryTime() local132 if (nextWakeup == 0) { in getNextWakeupDeliveryTime()133 nextWakeup = a.getMaxWhenElapsed(); in getNextWakeupDeliveryTime()135 if (a.getWhenElapsed() > nextWakeup) { in getNextWakeupDeliveryTime()138 nextWakeup = Math.min(nextWakeup, a.getMaxWhenElapsed()); in getNextWakeupDeliveryTime()142 return nextWakeup; in getNextWakeupDeliveryTime()
112 nsecs_t nextWakeup(std::unique_lock<std::mutex>& lock) { in nextWakeup() function