Home
last modified time | relevance | path

Searched refs:workDuration (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncDispatchTimerQueue.cpp64 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
[all …]
DVSyncDispatchTimerQueue.h50 ScheduleResult schedule(nsecs_t workDuration, nsecs_t earliestVsync, VSyncTracker& tracker,
70 void addPendingWorkloadUpdate(nsecs_t workDuration, nsecs_t earliestVsync);
128 ScheduleResult schedule(CallbackToken token, nsecs_t workDuration, nsecs_t earliestVsync) final;
DVSyncDispatch.h99 virtual ScheduleResult schedule(CallbackToken token, nsecs_t workDuration,
132 ScheduleResult schedule(nsecs_t workDuration, nsecs_t earliestVsync);
/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncDispatchTimerQueueTest.cpp257 auto const workDuration = 10 * mPeriod; in TEST_F() local
258 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(now + workDuration)) in TEST_F()
263 EXPECT_EQ(mDispatch.schedule(cb, workDuration, mPeriod), ScheduleResult::Scheduled); in TEST_F()
DVSyncReactorTest.cpp101 ScheduleResult schedule(CallbackToken token, nsecs_t workDuration, in schedule() argument
103 return mDispatch->schedule(token, workDuration, earliestVsync); in schedule()