Searched refs:FrameDuration (Results 1 – 2 of 2) sorted by relevance
91 class FrameDuration {93 FrameDuration() = default;95 FrameDuration(std::chrono::nanoseconds cpuTime, std::chrono::nanoseconds gpuTime) : in FrameDuration() function111 FrameDuration& operator+=(const FrameDuration& other) {117 FrameDuration& operator-=(const FrameDuration& other) {123 friend FrameDuration operator/(FrameDuration lhs, int rhs) {176 void addFrameDuration(FrameDuration duration);180 void swapFaster(const FrameDuration& averageFrameTime,185 void swapSlower(const FrameDuration& averageFrameTime,236 std::vector<FrameDuration> mFrameDurations GUARDED_BY(mFrameDurationsMutex);[all …]
49 constexpr std::chrono::nanoseconds Swappy::FrameDuration::MAX_DURATION;487 void Swappy::addFrameDuration(FrameDuration duration) { in addFrameDuration()551 void Swappy::swapSlower(const FrameDuration& averageFrameTime, in swapSlower()577 void Swappy::swapFaster(const FrameDuration& averageFrameTime, in swapFaster()