Output units with histogram results.

The buildbot already understands them according to:
https://code.google.com/p/chromium/codesearch#chromium/tools/build/scripts/slave/process_log_utils.py

BUG=288231

Review URL: https://chromiumcodereview.appspot.com/23470006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@222378 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
tonyg@chromium.org 2013-09-10 22:59:53 +00:00
Родитель 2e3b1f728f
Коммит 691ae5253a
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -128,11 +128,12 @@ def PrintPerfResult(measurement, trace, values, units, result_type='default',
# across different histograms.
assert len(values) == 1
value = values[0]
output = '%s%s: %s= %s' % (
output = '%s%s: %s= %s %s' % (
RESULT_TYPES[result_type],
_EscapePerfResult(measurement),
trace_name,
value)
value,
units)
avg, sd = GeomMeanAndStdDevFromHistogram(value)
if avg: