Lines Matching refs:FrameDuration
91 class FrameDuration {
93 FrameDuration() = default;
95 FrameDuration(std::chrono::nanoseconds cpuTime, std::chrono::nanoseconds gpuTime) : in FrameDuration() function
111 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);
237 FrameDuration mFrameDurationsSum GUARDED_BY(mFrameDurationsMutex);