aboutsummaryrefslogtreecommitdiff
path: root/crosperf/benchmark.py
diff options
context:
space:
mode:
authorcmtice <cmtice@google.com>2013-12-06 15:46:49 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-12-10 22:42:42 +0000
commit9847df92a2b5f76ccddc4bf10288819712a8ca47 (patch)
treee36fbfd5361e0895c4254abdd2f8d7147d36e756 /crosperf/benchmark.py
parentd80a960b62d89bc6f83d2f5fd4d599408f2ec7f9 (diff)
downloadtoolchain-utils-9847df92a2b5f76ccddc4bf10288819712a8ca47.tar.gz
Use default results for Telemetry tests; add option to use all results.
When running telemetry_Crosperf, use the json file of report defaults to determine which results to actually include in the report. This CL also adds a flag to Crospref, --show_all_results=True, that allows the user to override the defaults and generate a report showing all the values. BUG=None TEST=Tested this both with and without the --show_all_results flag. It works as expected for me. Change-Id: I91364572ebdf3d54bb8b408fbd5a2580923f6829 Reviewed-on: https://chrome-internal-review.googlesource.com/149457 Reviewed-by: Yunlian Jiang <yunlian@google.com> Commit-Queue: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'crosperf/benchmark.py')
-rw-r--r--crosperf/benchmark.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/crosperf/benchmark.py b/crosperf/benchmark.py
index f928a649..cb9f199b 100644
--- a/crosperf/benchmark.py
+++ b/crosperf/benchmark.py
@@ -17,7 +17,7 @@ class Benchmark(object):
def __init__(self, name, test_name, test_args, iterations,
outlier_range, key_results_only, rm_chroot_tmp, perf_args,
- suite="pyauto", use_test_that=False):
+ suite="pyauto", use_test_that=False, show_all_results=False):
self.name = name
#For telemetry, this is the benchmark name.
self.test_name = test_name
@@ -31,3 +31,4 @@ class Benchmark(object):
self.iteration_adjusted = False
self.suite = suite
self.use_test_that = use_test_that
+ self.show_all_results = show_all_results