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

Unified Diff: ui/events/latency_info.h

Issue 2341413002: New scroll latency metrics added for touch and wheel. (Closed)
Patch Set: Created 4 years, 3 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
Index: ui/events/latency_info.h
diff --git a/ui/events/latency_info.h b/ui/events/latency_info.h
index 606cfd40a39ea9273d983649b092b20c788761ac..abb52dc1d600e8f3e3d50772db99a237bce66293 100644
--- a/ui/events/latency_info.h
+++ b/ui/events/latency_info.h
@@ -137,6 +137,10 @@ class EVENTS_BASE_EXPORT LatencyInfo {
base::TimeTicks event_time;
// Count of events that happened in this component
uint32_t event_count;
+ // Time of the oldest event that happened in this component.
+ base::TimeTicks first_event_time;
+ // Time of the most recent event that happened in this component.
+ base::TimeTicks last_event_time;
};
// Empirically determined constant based on a typical scroll sequence.

Powered by Google App Engine
This is Rietveld 408576698