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

Unified Diff: content/browser/renderer_host/input/render_widget_host_latency_tracker.cc

Issue 2416173003: Rename Event.Latency.* to Event.Latency.ScrollUpdate.* (Closed)
Patch Set: Use of obsolete for histograms instead of deleting. Created 4 years, 2 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 | « no previous file | content/browser/renderer_host/input/render_widget_host_latency_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/render_widget_host_latency_tracker.cc
diff --git a/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc b/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc
index a4d5ba9e71084a8e61e6885a39b1dfb351528071..a8d3ac23f52d9612d76f3b27e9185f8c9c04e02b 100644
--- a/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc
+++ b/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc
@@ -255,7 +255,7 @@ void ComputeTouchAndWheelScrollLatencyHistograms(
// first scroll event in a sequence and the original timestamp of that
// scroll event's underlying touch/wheel event.
UMA_HISTOGRAM_TOUCH_WHEEL_TO_SCROLL_LATENCY(
- "Event.Latency." + event_type_name +
+ "Event.Latency.ScrollUpdate." + event_type_name +
".TimeToFirstScrollUpdateSwapBegin2",
original_component, gpu_swap_begin_component);
} else if (latency.FindLatency(
@@ -266,7 +266,8 @@ void ComputeTouchAndWheelScrollLatencyHistograms(
// First scroll events are excluded from this metric.
if (event_type_name == "Touch") {
UMA_HISTOGRAM_TOUCH_WHEEL_TO_SCROLL_LATENCY(
- "Event.Latency." + event_type_name + ".TimeToScrollUpdateSwapBegin2",
+ "Event.Latency.ScrollUpdate." + event_type_name +
+ ".TimeToScrollUpdateSwapBegin2",
original_component, gpu_swap_begin_component);
}
} else {
« no previous file with comments | « no previous file | content/browser/renderer_host/input/render_widget_host_latency_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698