Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: ui/latency/latency_tracker.h

Issue 2888153002: Add TimeToScrollUpdateSwapBegin2 to UKM (Closed)
Patch Set: Rename the test function Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/metrics/ukm/ukm.xml ('k') | ui/latency/latency_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/latency/latency_tracker.h
diff --git a/ui/latency/latency_tracker.h b/ui/latency/latency_tracker.h
index 4d0a432a7c847e01b4d16cf81237f94f8877881c..e40b913e1b509c649f8a808256ab6c288daa07b0 100644
--- a/ui/latency/latency_tracker.h
+++ b/ui/latency/latency_tracker.h
@@ -28,6 +28,12 @@ class LatencyTracker {
const LatencyInfo::LatencyComponent& start_component,
const LatencyInfo::LatencyComponent& end_component);
+ virtual void ReportUkmScrollLatency(
+ const std::string& event_name,
+ const std::string& metric_name,
+ const LatencyInfo::LatencyComponent& start_component,
+ const LatencyInfo::LatencyComponent& end_component);
+
private:
void ComputeEndToEndLatencyHistograms(
const LatencyInfo::LatencyComponent& gpu_swap_begin_component,
« no previous file with comments | « tools/metrics/ukm/ukm.xml ('k') | ui/latency/latency_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698