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

Unified Diff: tools/perf/measurements/smoothness.py

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: minor fixes Created 7 years, 5 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: tools/perf/measurements/smoothness.py
diff --git a/tools/perf/measurements/smoothness.py b/tools/perf/measurements/smoothness.py
index 80b7cd6307ccfaf12f1718c0f9c98d3d20be6ef2..a4d941b79fb39a044f72655c37a6e98f5c09ce83 100644
--- a/tools/perf/measurements/smoothness.py
+++ b/tools/perf/measurements/smoothness.py
@@ -159,6 +159,10 @@ def CalcLatencyResults(rendering_stats_deltas, results):
'totalTouchAckedLatency',
'average_touch_acked_latency',
results)
+ CalcLatency(rendering_stats_deltas, 'totalImplThreadToMainThreadCount',
+ 'totalImplThreadToMainThreadTime',
+ 'average_impl_thread_to_main_thread_time',
+ results)
class Smoothness(page_measurement.PageMeasurement):
def __init__(self):

Powered by Google App Engine
This is Rietveld 408576698