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

Unified Diff: telemetry/telemetry/web_perf/metrics/smoothness.py

Issue 2594573002: Change smoothness frame-times metrics on CrOS (Closed)
Patch Set: Created 4 years 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 | « telemetry/telemetry/web_perf/metrics/rendering_stats_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/web_perf/metrics/smoothness.py
diff --git a/telemetry/telemetry/web_perf/metrics/smoothness.py b/telemetry/telemetry/web_perf/metrics/smoothness.py
index fee30ff8734cd5a2b2dd2d804cb4df43c0828422..5caa568aed1446fa4a0df9f9fac0801ef4d2c8df 100644
--- a/telemetry/telemetry/web_perf/metrics/smoothness.py
+++ b/telemetry/telemetry/web_perf/metrics/smoothness.py
@@ -53,7 +53,7 @@ class SmoothnessMetric(timeline_based_metric.TimelineBasedMetric):
renderer_process = renderer_thread.parent
stats = rendering_stats.RenderingStats(
renderer_process, model.browser_process, model.surface_flinger_process,
- [r.GetBounds() for r in interaction_records])
+ model.gpu_process, [r.GetBounds() for r in interaction_records])
has_surface_flinger_stats = model.surface_flinger_process is not None
self._PopulateResultsFromStats(results, stats, has_surface_flinger_stats)
« no previous file with comments | « telemetry/telemetry/web_perf/metrics/rendering_stats_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698