diff options
author | Zhizhou Yang <zhizhouy@google.com> | 2019-03-18 11:00:47 -0700 |
---|---|---|
committer | Zhizhou Yang <zhizhouy@google.com> | 2019-03-19 16:54:40 +0000 |
commit | cbfa536ce81b83071168620525edee377e1cfa8c (patch) | |
tree | 3e80786e5f2721f83a76a5faf1234e018387ba93 /crosperf | |
parent | 78eb66de4e69631c688e5c4e3f586623bb9452f6 (diff) | |
download | toolchain-utils-cbfa536ce81b83071168620525edee377e1cfa8c.tar.gz |
crosperf: Fix the name of amean column for weighted results
This fixes the naming of amean column for cwp mode, should be
"Weighted Samples Amean" other than just "Amean".
BUG=None
TEST=Tested with both cwp and general mode.
Change-Id: I66c0cce41da4aab2cfc65e867c0e0335e32029ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1529231
Tested-by: Zhizhou Yang <zhizhouy@google.com>
Reviewed-by: Caroline Tice <cmtice@chromium.org>
Diffstat (limited to 'crosperf')
-rw-r--r-- | crosperf/results_report.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crosperf/results_report.py b/crosperf/results_report.py index 90312a33..afd767aa 100644 --- a/crosperf/results_report.py +++ b/crosperf/results_report.py @@ -2,6 +2,7 @@ # Copyright (c) 2013 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. + """A module to handle the report format.""" from __future__ import print_function @@ -292,7 +293,9 @@ class ResultsReport(object): if summary_type == 'samples': columns += [Column(IterationResult(), Format(), 'Iterations [Pass:Fail]')] columns += [ - Column(AmeanResult(ignore_min_max), Format()), + Column( + AmeanResult(ignore_min_max), Format(), + 'Weighted Samples Amean' if summary_type == 'samples' else ''), Column(StdResult(ignore_min_max), Format(), 'StdDev'), Column(CoeffVarResult(ignore_min_max), CoeffVarFormat(), 'StdDev/Mean'), Column(GmeanRatioResult(ignore_min_max), RatioFormat(), 'GmeanSpeedup'), |