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

Unified Diff: tools/perf/metrics/rendering_stats_unittest.py

Issue 100073003: telemetry: Add thread time to telmetry timeline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: tools/perf/metrics/rendering_stats_unittest.py
diff --git a/tools/perf/metrics/rendering_stats_unittest.py b/tools/perf/metrics/rendering_stats_unittest.py
index ec18597b8ce059b7e527be493b62c15cc01aae9c..165f56af59792512ee7ba8df828c23ebbbeb6475 100644
--- a/tools/perf/metrics/rendering_stats_unittest.py
+++ b/tools/perf/metrics/rendering_stats_unittest.py
@@ -60,7 +60,7 @@ def AddMainThreadRenderingStats(mock_timer, thread, first_frame,
# Add a slice with the event data to the given thread.
thread.PushCompleteSlice(
'benchmark', 'BenchmarkInstrumentation::MainThreadRenderingStats',
- timestamp, 0.0, {'data': data})
+ timestamp, 0.0, None, None, {'data': data})
nduca 2013/12/03 07:18:55 here and elsewhere, after the timestamp parameter,
ernstm 2013/12/03 20:55:54 Done.
if not ref_stats:
return
@@ -97,7 +97,7 @@ def AddImplThreadRenderingStats(mock_timer, thread, first_frame,
# Add a slice with the event data to the given thread.
thread.PushCompleteSlice(
'benchmark', 'BenchmarkInstrumentation::ImplThreadRenderingStats',
- timestamp, 0.0, {'data': data})
+ timestamp, 0.0, None, None, {'data': data})
if not ref_stats:
return
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/timeline/counter.py » ('j') | tools/telemetry/telemetry/core/timeline/event.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698