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

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

Issue 132433004: Collecting LatencyInfo in telemetry (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: unittest added Created 6 years, 11 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 | tools/perf/measurements/smoothness_unittest.py » ('j') | tools/perf/metrics/smoothness.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/rasterize_and_record.py
diff --git a/tools/perf/measurements/rasterize_and_record.py b/tools/perf/measurements/rasterize_and_record.py
index 84b4e5e6e5b451f4d4fefd17d84155df0848514b..355977ae5c8460b910cec3908d116900afa4190b 100644
--- a/tools/perf/measurements/rasterize_and_record.py
+++ b/tools/perf/measurements/rasterize_and_record.py
@@ -110,7 +110,10 @@ class RasterizeAndRecord(page_measurement.PageMeasurement):
timeline_ranges = [ timeline_bounds.Bounds.CreateFromEvent(marker)
for marker in timeline_markers ]
renderer_process = timeline.GetRendererProcessFromTab(tab)
- stats = rendering_stats.RenderingStats(renderer_process, timeline_ranges)
+ browser_main_thread = timeline.GetBrowserMainThread()
+
+ stats = rendering_stats.RenderingStats(
+ renderer_process, browser_main_thread, timeline_ranges)
results.Add('rasterize_time', 'ms',
max(stats.rasterize_time))
« no previous file with comments | « no previous file | tools/perf/measurements/smoothness_unittest.py » ('j') | tools/perf/metrics/smoothness.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698