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

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

Issue 2755153002: Removing unused macros in RenderWidgetHostLatencyTracker. (Closed)
Patch Set: Created 3 years, 9 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 | no next file » | 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 e8d38e052cbc8cc4c834fbf27f4865f51bb2ecfa..e66f225f7b6a94afb48d0af5df1d2dee93659e62 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
@@ -82,20 +82,6 @@ void UpdateLatencyCoordinates(const WebInputEvent& event,
DCHECK(!end.last_event_time.is_null()); \
DCHECK_GE(end.last_event_time, start.first_event_time);
-// Long scroll latency component that is mostly under 200ms.
-#define UMA_HISTOGRAM_SCROLL_LATENCY_LONG(name, start, end) \
- CONFIRM_VALID_TIMING(start, end); \
- UMA_HISTOGRAM_CUSTOM_COUNTS( \
- name, (end.event_time - start.event_time).InMicroseconds(), 1000, \
- 200000, 50)
-
-// Short scroll latency component that is mostly under 50ms.
-#define UMA_HISTOGRAM_SCROLL_LATENCY_SHORT(name, start, end) \
- CONFIRM_VALID_TIMING(start, end); \
- UMA_HISTOGRAM_CUSTOM_COUNTS( \
- name, (end.event_time - start.event_time).InMicroseconds(), 1, 50000, \
- 50)
-
// Event latency that is mostly under 1 second. We should only use 100 buckets
// when needed.
#define UMA_HISTOGRAM_INPUT_LATENCY_HIGH_RESOLUTION_MICROSECONDS(name, start, \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698