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

Unified Diff: build/android/pylib/perf/perf_test_instance.py

Issue 2583613002: [Android] Add ability to generate test trace json for perf tests runs. (Closed)
Patch Set: Move to context manager 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 | « build/android/pylib/local/device/local_device_perf_test_run.py ('k') | build/android/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/perf/perf_test_instance.py
diff --git a/build/android/pylib/perf/perf_test_instance.py b/build/android/pylib/perf/perf_test_instance.py
index fbb7962d588a9c08bfaa74f42273d374e0d7434f..3121d8d405ae45ac0b617f1e4dd78a7a3eb4cc2f 100644
--- a/build/android/pylib/perf/perf_test_instance.py
+++ b/build/android/pylib/perf/perf_test_instance.py
@@ -79,6 +79,7 @@ class PerfTestInstance(test_instance.TestInstance):
' '.join(args.single_step_command) if args.single_step else None)
self._steps = args.steps
self._test_filter = args.test_filter
+ self._trace_output = args.trace_output
self._write_buildbot_json = args.write_buildbot_json
#override
@@ -236,6 +237,10 @@ class PerfTestInstance(test_instance.TestInstance):
def test_filter(self):
return self._test_filter
+ @property
+ def trace_output(self):
+ return self._trace_output
+
class PersistentDataError(base_error.BaseError):
def __init__(self, message):
« no previous file with comments | « build/android/pylib/local/device/local_device_perf_test_run.py ('k') | build/android/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698