Home
last modified time | relevance | path

Searched refs:sfDuration (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DVsyncConfiguration.cpp279 nsecs_t sfDurationToOffset(std::chrono::nanoseconds sfDuration, nsecs_t vsyncDuration) { in sfDurationToOffset() argument
280 return vsyncDuration - sfDuration.count() % vsyncDuration; in sfDurationToOffset()
284 std::chrono::nanoseconds sfDuration, nsecs_t vsyncDuration) { in appDurationToOffset() argument
285 return vsyncDuration - (appDuration + sfDuration).count() % vsyncDuration; in appDurationToOffset()
304 const auto sfDuration = sfDurationFixup(mSfDuration); in constructOffsets() local
339 .sfOffset = sfDuration.count() < vsyncDuration in constructOffsets()
341 ? sfDurationToOffset(sfDuration, vsyncDuration) in constructOffsets()
342 : sfDurationToOffset(sfDuration, vsyncDuration) - vsyncDuration, in constructOffsets()
345 appDurationToOffset(appDuration, sfDuration, vsyncDuration), in constructOffsets()
347 .sfWorkDuration = sfDuration, in constructOffsets()
[all …]
DVsyncConfiguration.h152 WorkDuration(Fps currentFps, nsecs_t sfDuration, nsecs_t appDuration, nsecs_t sfEarlyDuration,
/frameworks/native/services/surfaceflinger/tests/unittests/
DVsyncConfigurationTest.cpp35 TestableWorkDuration(Fps currentFps, nsecs_t sfDuration, nsecs_t appDuration, in TestableWorkDuration() argument
39 : impl::WorkDuration(currentFps, sfDuration, appDuration, sfEarlyDuration, in TestableWorkDuration()