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

Unified Diff: ui/base/latency_info.h

Issue 16213002: Add telemetry to track the time an event spent waiting for the main thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 7 years, 4 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/base/latency_info.h
diff --git a/ui/base/latency_info.h b/ui/base/latency_info.h
index 3482a500a8d0d85a89a5e92d92e7faf14f0be34e..65c23b4343ae6b444cdc5834d6b1e3d2a67596ca 100644
--- a/ui/base/latency_info.h
+++ b/ui/base/latency_info.h
@@ -32,7 +32,11 @@ enum LatencyComponentType {
INPUT_EVENT_LATENCY_UI_COMPONENT,
// Timestamp when the event is acked from renderer. This is currently set
// only for touch events.
- INPUT_EVENT_LATENCY_ACKED_COMPONENT
+ INPUT_EVENT_LATENCY_ACKED_COMPONENT,
+ // Timestamp when the event is sent from the impl to main renderer thread.
+ INPUT_EVENT_LATENCY_EVENT_SENT_FROM_IMPL_THREAD_COMPONENT,
+ // Timestamp when the event is received on the main thread.
+ INPUT_EVENT_LATENCY_EVENT_RECEIVED_ON_MAIN_THREAD_COMPONENT,
};
struct UI_EXPORT LatencyInfo {
« content/renderer/render_widget.cc ('K') | « tools/perf/metrics/smoothness_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698