Python: module telemetry.internal.results.csv_pivot_table_output_formatter

telemetry.internal.results.csv_pivot_table_output_formatter | index telemetry/internal/results/csv_pivot_table_output_formatter.py

`# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.`

Modules
`` |  |
csv | telemetry.internal.results.output_formatter | telemetry.value.scalar |

Classes
`` |  | telemetry.internal.results.output_formatter.OutputFormatter(__builtin__.object) CsvPivotTableOutputFormatter
class CsvPivotTableOutputFormatter(telemetry.internal.results.output_formatter.OutputFormatter)
`` | `Output the results as CSV suitable for reading into a spreadsheet. This will write a header row, and one row for each value. Each value row contains the value and unit, identifies the value (story_set, page, name), and (optionally) data from --output-trace-tag. This format matches what spreadsheet programs expect as input for a "pivot table". A trace tag (--output-trace-tag) can be used to tag each value, to allow easy combination of the resulting CSVs from several runs. If the trace_tag contains a comma, it will be written as several comma-separated values. This class only processes scalar values.`
| Method resolution order: CsvPivotTableOutputFormatter telemetry.internal.results.output_formatter.OutputFormatter __builtin__.object Methods defined here: Format(self, page_test_results) __init__(self, output_stream, trace_tag='') Data and other attributes defined here: FIELDS = ['story_set', 'page', 'name', 'value', 'units', 'run_index'] Data descriptors inherited from telemetry.internal.results.output_formatter.OutputFormatter: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` output_stream