Searched refs:whenUs (Results 1 – 3 of 3) sorted by relevance
171 int64_t whenUs; in post() local174 whenUs = (delayUs > INT64_MAX - nowUs ? INT64_MAX : nowUs + delayUs); in post()177 whenUs = GetNowUs(); in post()181 while (it != mEventQueue.end() && (*it).mWhenUs <= whenUs) { in post()186 event.mWhenUs = whenUs; in post()208 int64_t whenUs = (*mEventQueue.begin()).mWhenUs; in loop() local211 if (whenUs > nowUs) { in loop()212 int64_t delayUs = whenUs - nowUs; in loop()
56 int64_t whenUs = mStartTimeUs + durationUs; in readAt() local58 if (whenUs > nowUs) { in readAt()59 usleep(whenUs - nowUs); in readAt()
104 int64_t whenUs = mFirstTimeUs + timeMs * 1000ll; in onPush() local106 (new AMessage(kWhatPush, this))->post(whenUs - nowUs); in onPush()