Lines Matching refs:workDuration
64 ScheduleResult VSyncDispatchTimerQueueEntry::schedule(nsecs_t workDuration, nsecs_t earliestVsync, in schedule() argument
67 tracker.nextAnticipatedVSyncTimeFrom(std::max(earliestVsync, now + workDuration)); in schedule()
83 auto const nextWakeupTime = nextVsyncTime - workDuration; in schedule()
84 mWorkDuration = workDuration; in schedule()
90 void VSyncDispatchTimerQueueEntry::addPendingWorkloadUpdate(nsecs_t workDuration, in addPendingWorkloadUpdate() argument
92 mWorkloadUpdateInfo = {.earliestVsync = earliestVsync, .duration = workDuration}; in addPendingWorkloadUpdate()
298 ScheduleResult VSyncDispatchTimerQueue::schedule(CallbackToken token, nsecs_t workDuration, in schedule() argument
315 callback->addPendingWorkloadUpdate(workDuration, earliestVsync); in schedule()
319 result = callback->schedule(workDuration, earliestVsync, mTracker, now); in schedule()
397 ScheduleResult VSyncCallbackRegistration::schedule(nsecs_t workDuration, nsecs_t earliestVsync) { in schedule() argument
401 return mDispatch.get().schedule(mToken, workDuration, earliestVsync); in schedule()