chromium/cc/metrics/total_frame_counter.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {}

}  // namespace cc