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

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: fix presubmit error "unused variable" Created 6 years, 10 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') | no next file with comments »
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 caf50adab447c3103aa73750574ed2bebe58fdae..40de17eec2876eafaa35963b754934512015b546 100644
--- a/tools/perf/measurements/rasterize_and_record.py
+++ b/tools/perf/measurements/rasterize_and_record.py
@@ -111,7 +111,9 @@ 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)
+
+ stats = rendering_stats.RenderingStats(
+ renderer_process, timeline.browser_process, timeline_ranges)
results.Add('rasterize_time', 'ms', max(FlattenList(stats.rasterize_times)))
results.Add('record_time', 'ms', max(FlattenList(stats.record_times)))
« no previous file with comments | « no previous file | tools/perf/measurements/smoothness_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698