Searched refs:averageFrameTime (Results 1 – 2 of 2) sorted by relevance
551 void Swappy::swapSlower(const FrameDuration& averageFrameTime, in swapSlower() argument557 if (!mPipelineMode && averageFrameTime.getTime(true) <= upperBound) { in swapSlower()567 if (mPipelineModeAutoMode && averageFrameTime.getTime(false) < newBound) { in swapSlower()577 void Swappy::swapFaster(const FrameDuration& averageFrameTime, in swapFaster() argument588 if (!mPipelineModeAutoMode || averageFrameTime.getTime(false) > newBound) { in swapFaster()605 const auto averageFrameTime = mFrameDurationsSum / mFrameDurations.size(); in updateSwapInterval() local618 auto div_result = ::div((averageFrameTime.getTime(true) + FRAME_HYSTERESIS).count(), in updateSwapInterval()626 ALOGV("Average cpu frame time = %.2f", (averageFrameTime.getCpuTime().count()) / 1e6f); in updateSwapInterval()627 ALOGV("Average gpu frame time = %.2f", (averageFrameTime.getGpuTime().count()) / 1e6f); in updateSwapInterval()632 if (averageFrameTime.getTime(mPipelineMode) > upperBound) { in updateSwapInterval()[all …]
180 void swapFaster(const FrameDuration& averageFrameTime,185 void swapSlower(const FrameDuration& averageFrameTime,