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

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

Issue 414253004: Introduce TracingController and TracingControllerBackend skeleton (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ready_to_land Created 6 years, 4 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/timeline_controller.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 2c3e6346ac95c7449a053e7119f27cda47f8cf79..3a7c97937c157b72a85f6be23cd4e42f6dd1b75c 100644
--- a/tools/perf/measurements/thread_times.py
+++ b/tools/perf/measurements/thread_times.py
@@ -3,7 +3,7 @@
# found in the LICENSE file.
from measurements import timeline_controller
from metrics import timeline
-from telemetry.core.backends.chrome import tracing_backend
+from telemetry.core.platform import tracing_category_filter
from telemetry.page import page_measurement
class ThreadTimes(page_measurement.PageMeasurement):
@@ -22,11 +22,10 @@ class ThreadTimes(page_measurement.PageMeasurement):
self._timeline_controller = timeline_controller.TimelineController()
if self.options.report_silk_details:
# We need the other traces in order to have any details to report.
- self.timeline_controller.trace_categories = \
- tracing_backend.DEFAULT_TRACE_CATEGORIES
+ self.timeline_controller.trace_categories = None
else:
self._timeline_controller.trace_categories = \
- tracing_backend.MINIMAL_TRACE_CATEGORIES
+ tracing_category_filter.CreateNoOverheadFilter().filter_string
self._timeline_controller.SetUp(page, tab)
def WillRunActions(self, page, tab):
« no previous file with comments | « no previous file | tools/perf/measurements/timeline_controller.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698