chromium/cc/metrics/average_lag_tracker.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 "cc/metrics/average_lag_tracker.h"

#include <algorithm>

#include "base/metrics/histogram_functions.h"
#include "base/strings/string_util.h"

namespace cc {

AverageLagTracker::AverageLagTracker() = default;
AverageLagTracker::~AverageLagTracker() = default;

void AverageLagTracker::AddScrollEventInFrame(const EventInfo& event_info) {}

std::string AverageLagTracker::GetAverageLagMetricName(EventType event) const {}

void AverageLagTracker::AddScrollBeginInFrame(const EventInfo& event_info) {}

void AverageLagTracker::AddScrollUpdateInFrame(const EventInfo& event_info) {}

float AverageLagTracker::LagBetween(base::TimeTicks front_time,
                                    base::TimeTicks back_time,
                                    const float scroll_delta,
                                    base::TimeTicks event_timestamp,
                                    float rendered_accumulated_delta) {}

float AverageLagTracker::LagForUnfinishedFrame(
    float rendered_accumulated_delta) {}

void AverageLagTracker::CalculateAndReportAverageLagUma(bool send_anyway) {}

}  // namespace cc