chromium/ui/base/prediction/prediction_metrics_handler.cc

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

#include "ui/base/prediction/prediction_metrics_handler.h"

#include <string_view>
#include <utility>

#include "base/cpu_reduction_experiment.h"
#include "base/metrics/histogram.h"
#include "base/strings/strcat.h"

namespace ui {
namespace {
base::HistogramBase* GetHistogram(std::string_view name,
                                  std::string_view suffix) {}
}  // namespace

PredictionMetricsHandler::PredictionMetricsHandler(std::string histogram_name)
    :{}

PredictionMetricsHandler::~PredictionMetricsHandler() = default;

void PredictionMetricsHandler::AddRealEvent(const gfx::PointF& pos,
                                            const base::TimeTicks& time_stamp,
                                            const base::TimeTicks& frame_time,
                                            bool scrolling) {}

void PredictionMetricsHandler::AddPredictedEvent(
    const gfx::PointF& pos,
    const base::TimeTicks& time_stamp,
    const base::TimeTicks& frame_time,
    bool scrolling) {}

void PredictionMetricsHandler::EvaluatePrediction() {}

void PredictionMetricsHandler::Reset() {}

int PredictionMetricsHandler::GetInterpolatedEventForPredictedEvent(
    const base::TimeTicks& interpolation_timestamp,
    gfx::PointF* interpolated) {}

void PredictionMetricsHandler::ComputeMetrics() {}

double PredictionMetricsHandler::ComputeOverUnderPredictionMetric() const {}

double PredictionMetricsHandler::ComputeFrameOverUnderPredictionMetric() const {}

double PredictionMetricsHandler::ComputePredictionJitterMetric() {}

double PredictionMetricsHandler::ComputeVisualJitterMetric() {}

}  // namespace ui