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

Unified Diff: ui/events/latency_info.h

Issue 2341413002: New scroll latency metrics added for touch and wheel. (Closed)
Patch Set: Use thread_name to compute _MAin, _Impl only once. 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 | « ui/events/ipc/latency_info_param_traits_macros.h ('k') | ui/events/latency_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « ui/events/ipc/latency_info_param_traits_macros.h ('k') | ui/events/latency_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698