#include "cc/metrics/scroll_jank_ukm_reporter.h"
#include "base/trace_event/trace_id_helper.h"
#include "base/tracing/protos/chrome_track_event.pbzero.h"
#include "cc/metrics/ukm_manager.h"
#include "services/metrics/public/cpp/metrics_utils.h"
#include "services/metrics/public/cpp/ukm_builders.h"
#include "services/metrics/public/cpp/ukm_recorder.h"
namespace cc {
ScrollJankUkmReporter::ScrollJankUkmReporter() = default;
ScrollJankUkmReporter::~ScrollJankUkmReporter() { … }
void ScrollJankUkmReporter::IncrementFrameCount() { … }
void ScrollJankUkmReporter::IncrementDelayedFrameCount() { … }
void ScrollJankUkmReporter::AddVsyncs(int vsyncs) { … }
void ScrollJankUkmReporter::AddMissedVsyncs(int missed_vsyncs) { … }
void ScrollJankUkmReporter::IncrementPredictorJankyFrames() { … }
void ScrollJankUkmReporter::SetEarliestScrollEvent(
ScrollUpdateEventMetrics& earliest_event) { … }
void ScrollJankUkmReporter::EmitScrollJankUkm() { … }
void ScrollJankUkmReporter::UpdateLatestFrameAndEmitPredictorJank(
base::TimeTicks latest_timestamp) { … }
void ScrollJankUkmReporter::ResetPredictorMetrics() { … }
void ScrollJankUkmReporter::WriteScrollTraceEvent() { … }
}