Home
last modified time | relevance | path

Searched refs:readyDuration (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncDispatchTimerQueueTest.cpp248 {.workDuration = 100, .readyDuration = 0, .lastVsync = 1000}); in TEST_F()
262 {.workDuration = 100, .readyDuration = 0, .lastVsync = intended}); in TEST_F()
282 {.workDuration = 100, .readyDuration = 0, .lastVsync = intended}); in TEST_F()
288 mDispatch->update(cb, {.workDuration = 300, .readyDuration = 0, .lastVsync = intended}); in TEST_F()
306 mDispatch->update(cb, {.workDuration = 300, .readyDuration = 0, .lastVsync = intended}); in TEST_F()
317 mDispatch->schedule(cb, {.workDuration = 100, .readyDuration = 0, .lastVsync = mPeriod}); in TEST_F()
336 .readyDuration = 0, in TEST_F()
350 {.workDuration = 100, .readyDuration = 0, .lastVsync = mPeriod}); in TEST_F()
364 {.workDuration = 100, .readyDuration = 0, .lastVsync = mPeriod}); in TEST_F()
379 {.workDuration = 100, .readyDuration = 0, .lastVsync = mPeriod}); in TEST_F()
[all …]
DMessageQueueTest.cpp98 .readyDuration = 0, in TEST_F()
116 .readyDuration = 0, in TEST_F()
143 .readyDuration = 0, in TEST_F()
174 .readyDuration = 0, in TEST_F()
187 .readyDuration = 0, in TEST_F()
DVSyncDispatchRealtimeTest.cpp110 nsecs_t readyDuration) in RepeatingCallbackReceiver() argument
112 mReadyDuration(readyDuration), in RepeatingCallbackReceiver()
120 .readyDuration = mReadyDuration, in repeatedly_schedule()
133 .readyDuration = mReadyDuration, in repeatedly_schedule()
DEventThreadTest.cpp246 EXPECT_EQ(expectedReadyDuration.count(), std::get<1>(args.value()).readyDuration); in expectVSyncSetDurationCallReceived()
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncDispatch.h102 nsecs_t readyDuration = 0; member
106 return workDuration == other.workDuration && readyDuration == other.readyDuration &&
DVSyncDispatchTimerQueue.cpp43 return {TimePoint::fromNs(nextVsyncTime - timing.readyDuration - timing.workDuration), in getExpectedCallbackTime()
105 timing.readyDuration), in schedule()
107 auto nextWakeupTime = nextVsyncTime - timing.workDuration - timing.readyDuration; in schedule()
121 nextWakeupTime = std::max(now, nextVsyncTime - timing.workDuration - timing.readyDuration); in schedule()
127 nextWakeupTime = nextVsyncTime - timing.workDuration - timing.readyDuration; in schedule()
130 auto const nextReadyTime = nextVsyncTime - timing.readyDuration; in schedule()
176 const auto earliestReadyBy = now + timing.workDuration + timing.readyDuration; in getArmedInfo()
183 const auto nextReadyTime = nextVsyncTime - timing.readyDuration; in getArmedInfo()
209 const auto readyDelta = mWorkloadUpdateInfo->readyDuration - mScheduleTiming.readyDuration; in update()
266 mScheduleTiming.workDuration / 1e6f, mScheduleTiming.readyDuration / 1e6f, in dump()
DMessageQueue.cpp126 .readyDuration = 0, in onNewVsyncScheduleLocked()
144 .readyDuration = 0, in setDuration()
197 .readyDuration = 0, in scheduleFrame()
DEventThread.h123 std::chrono::nanoseconds readyDuration) = 0;
154 std::chrono::nanoseconds workDuration, std::chrono::nanoseconds readyDuration);
180 std::chrono::nanoseconds readyDuration) override;
DEventThread.cpp278 std::chrono::nanoseconds readyDuration) in EventThread() argument
282 mReadyDuration(readyDuration), in EventThread()
317 std::chrono::nanoseconds readyDuration) { in setDuration() argument
320 mReadyDuration = readyDuration; in setDuration()
323 .readyDuration = mReadyDuration.count(), in setDuration()
533 .readyDuration = mReadyDuration.count(), in threadMain()
797 .readyDuration = mReadyDuration.count(), in onNewVsyncScheduleInternal()
DScheduler.h142 std::chrono::nanoseconds readyDuration);
168 std::chrono::nanoseconds readyDuration);
DScheduler.cpp350 std::chrono::nanoseconds readyDuration) { in createEventThread() argument
354 workDuration, readyDuration); in createEventThread()
473 std::chrono::nanoseconds readyDuration) { in setDuration() argument
475 eventThreadFor(cycle).setDuration(workDuration, readyDuration); in setDuration()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockEventThread.h50 (std::chrono::nanoseconds workDuration, std::chrono::nanoseconds readyDuration),