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

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

Issue 171013006: Telemetry: Use mimimum tracing for timeline benchmarks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove @property. 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/thread_times_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/thread_times.py
diff --git a/tools/perf/measurements/thread_times.py b/tools/perf/measurements/thread_times.py
index fd53c0b5b1e23397af46906ddca0eb9c9b05b238..34d349550d6685649b1d8dc8b4f5534ef76c24c5 100644
--- a/tools/perf/measurements/thread_times.py
+++ b/tools/perf/measurements/thread_times.py
@@ -25,11 +25,11 @@ class ThreadTimes(page_measurement.PageMeasurement):
def WillRunActions(self, page, tab):
self._metric = timeline.ThreadTimesTimelineMetric()
- self._metric.Start(page, tab)
if self.options.report_silk_results:
self._metric.results_to_report = timeline.ReportSilkResults
if self.options.report_silk_details:
self._metric.details_to_report = timeline.ReportSilkDetails
+ self._metric.Start(page, tab)
def DidRunAction(self, page, tab, action):
self._metric.AddActionToIncludeInMetric(action)
« no previous file with comments | « no previous file | tools/perf/measurements/thread_times_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698