#include "cc/metrics/total_frame_counter.h"
#include <cmath>
#include "base/logging.h"
#include "components/viz/common/frame_sinks/begin_frame_args.h"
namespace cc {
TotalFrameCounter::TotalFrameCounter() = default;
void TotalFrameCounter::OnShow(base::TimeTicks timestamp) { … }
void TotalFrameCounter::OnHide(base::TimeTicks timestamp) { … }
void TotalFrameCounter::OnBeginFrame(const viz::BeginFrameArgs& args) { … }
void TotalFrameCounter::Reset() { … }
void TotalFrameCounter::UpdateTotalFramesSinceLastVisible(
base::TimeTicks until) { … }
size_t TotalFrameCounter::ComputeTotalVisibleFrames(
base::TimeTicks until) const { … }
}