Lines Matching refs:sfDuration
279 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()
365 WorkDuration::WorkDuration(Fps currentRefreshRate, nsecs_t sfDuration, nsecs_t appDuration, in WorkDuration() argument
370 mSfDuration(sfDuration), in WorkDuration()