| |
- FlattenList(values)
- Returns a simple list without sub-lists.
- GeomMeanAndStdDevFromHistogram(histogram_json)
- PrintPages(page_list)
- Prints list of pages to stdout in the format required by perf tests.
- PrintPerfResult(measurement, trace, values, units, result_type='default', print_to_stdout=True)
- Prints numerical data to stdout in the format required by perf tests.
The string args may be empty but they must not contain any colons (:) or
equals signs (=).
This is parsed by the buildbot using:
http://src.chromium.org/viewvc/chrome/trunk/tools/build/scripts/slave/process_log_utils.py
Args:
measurement: A description of the quantity being measured, e.g. "vm_peak".
On the dashboard, this maps to a particular graph. Mandatory.
trace: A description of the particular data point, e.g. "reference".
On the dashboard, this maps to a particular "line" in the graph.
Mandatory.
values: A list of numeric measured values. An N-dimensional list will be
flattened and treated as a simple list.
units: A description of the units of measure, e.g. "bytes".
result_type: Accepts values of perf_result_data_type.ALL_TYPES.
print_to_stdout: If True, prints the output in stdout instead of returning
the output to caller.
Returns:
String of the formated perf result.
|