chromium/components/viz/service/frame_sinks/frame_counter.h

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

#ifndef COMPONENTS_VIZ_SERVICE_FRAME_SINKS_FRAME_COUNTER_H_
#define COMPONENTS_VIZ_SERVICE_FRAME_SINKS_FRAME_COUNTER_H_

#include <string_view>

#include "base/containers/flat_map.h"
#include "base/time/time.h"
#include "components/viz/common/surfaces/frame_sink_id.h"
#include "components/viz/service/viz_service_export.h"
#include "services/viz/privileged/mojom/compositing/frame_sinks_metrics_recorder.mojom-forward.h"
#include "services/viz/public/mojom/compositing/compositor_frame_sink.mojom-shared.h"

namespace viz {

// Counts presented frames per frame sink. Used in tests to provide fps data
// per frame sink.
class VIZ_SERVICE_EXPORT FrameCounter {};

}  // namespace viz

#endif  // COMPONENTS_VIZ_SERVICE_FRAME_SINKS_FRAME_COUNTER_H_