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

Unified Diff: tools/perf/benchmarks/battor.py

Issue 2198523003: [Android][Telemetry] Enable ATrace tracing for BattOr Tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/battor.py
diff --git a/tools/perf/benchmarks/battor.py b/tools/perf/benchmarks/battor.py
index 414d6790a55552b43af7fae16b3d01f3b7a49297..5919aa6222c9c64c90d8776e6bf8d4410be2fdf7 100644
--- a/tools/perf/benchmarks/battor.py
+++ b/tools/perf/benchmarks/battor.py
@@ -16,6 +16,7 @@ class _BattOrBenchmark(perf_benchmark.PerfBenchmark):
options = timeline_based_measurement.Options()
options.config.enable_battor_trace = True
options.config.enable_chrome_trace = True
+ options.config.enable_atrace_trace = True
options.config.chrome_trace_config.SetDefaultOverheadFilter()
options.SetTimelineBasedMetrics(['powerMetric', 'clockSyncLatencyMetric'])
return options
@@ -102,6 +103,7 @@ class BattOrPowerCasesNoChromeTrace(_BattOrBenchmark):
options = timeline_based_measurement.Options()
options.config.enable_battor_trace = True
options.config.enable_chrome_trace = False
+ options.config.enable_atrace_trace = False
options.config.chrome_trace_config.SetDefaultOverheadFilter()
options.SetTimelineBasedMetrics(['powerMetric', 'clockSyncLatencyMetric'])
return options
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698