diff options
author | Zhizhou Yang <zhizhouy@google.com> | 2018-11-15 13:55:12 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-11-16 15:10:52 -0800 |
commit | e2b0d3ef23cfdf19db4f39cb900845a35c3af82b (patch) | |
tree | 6a815bbbbe69315018bac6cc1b687bbc24d94b03 /crosperf/experiment_factory.py | |
parent | 69c558b42977054d6168ad13829ebdd80ad77a7c (diff) | |
download | toolchain-utils-e2b0d3ef23cfdf19db4f39cb900845a35c3af82b.tar.gz |
crosperf: Passing dso and weight to result_cache.py
To generate and collect dso sample count, this patch passes dso and
weight into result_cache.py, by setting them as members of Benchmark
object.
Meantime, fixed all related unit tests.
BUG=chromium:902785
TEST=Passed all unit tests and sample tests locally.
Change-Id: I483a00d199d48fd5e77d882d7ac81bf93b6940df
Reviewed-on: https://chromium-review.googlesource.com/1338344
Commit-Ready: Zhizhou Yang <zhizhouy@google.com>
Tested-by: Zhizhou Yang <zhizhouy@google.com>
Reviewed-by: Caroline Tice <cmtice@chromium.org>
Diffstat (limited to 'crosperf/experiment_factory.py')
-rw-r--r-- | crosperf/experiment_factory.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crosperf/experiment_factory.py b/crosperf/experiment_factory.py index 60785fa3..aa0e4cf0 100644 --- a/crosperf/experiment_factory.py +++ b/crosperf/experiment_factory.py @@ -258,9 +258,10 @@ class ExperimentFactory(object): iterations, rm_chroot_tmp, perf_args, suite, show_all_results, retries, run_local) else: - benchmark = Benchmark(benchmark_name, test_name, test_args, iterations, - rm_chroot_tmp, perf_args, suite, - show_all_results, retries, run_local, weight) + benchmark = Benchmark(benchmark_name, test_name, test_args, + iterations, rm_chroot_tmp, perf_args, suite, + show_all_results, retries, run_local, cwp_dso, + weight) benchmarks.append(benchmark) else: if test_name == 'all_graphics_perf': |