telemetry.value.histogram | index telemetry/value/histogram.py

`# Copyright 2013 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
`` |  |
telemetry.value.histogram_util json | telemetry.util.perf_tests_helper telemetry.value.summarizable | telemetry.value |

Classes
`` |  | __builtin__.object HistogramValueBucket telemetry.value.summarizable.SummarizableValue(telemetry.value.Value) HistogramValue
class HistogramValue(telemetry.value.summarizable.SummarizableValue)
`` |  | Method resolution order: HistogramValue telemetry.value.summarizable.SummarizableValue telemetry.value.Value __builtin__.object Methods defined here: AsDict(self) GetBuildbotDataType(self, output_context) GetBuildbotValue(self) GetRepresentativeNumber(self) GetRepresentativeString(self) ToJSONString(self) __init__(self, page, name, units, raw_value=None, raw_value_json=None, important=True, description=None, tir_label=None, improvement_direction=None) __repr__(self) Class methods defined here: MergeLikeValuesFromDifferentPages(cls, values) from __builtin__.type MergeLikeValuesFromSamePage(cls, values) from __builtin__.type Static methods defined here: FromDict(value_dict, page_dict) GetJSONTypeName() Methods inherited from telemetry.value.summarizable.SummarizableValue: AsDictWithoutBaseClassEntries(self) Data descriptors inherited from telemetry.value.summarizable.SummarizableValue: improvement_direction Methods inherited from telemetry.value.Value: GetChartAndTraceNameForComputedSummaryResult(self, trace_tag) GetChartAndTraceNameForPerPageResult(self) IsMergableWith(self, that) __eq__(self, other) __hash__(self) Static methods inherited from telemetry.value.Value: GetConstructorKwArgs(value_dict, page_dict) `Produces constructor arguments from a value dict and a page dict. Takes a dict parsed from JSON and an index of pages and recovers the keyword arguments to be passed to the constructor for deserializing the dict. value_dict: a dictionary produced by AsDict() on a value subclass. page_dict: a dictionary mapping IDs to page objects.` ListOfValuesFromListOfDicts(value_dicts, page_dict) `Takes a list of value dicts to values. Given a list of value dicts produced by AsDict, this method deserializes the dicts given a dict mapping page IDs to pages. This method performs memoization for deserializing a list of values efficiently, where FromDict is meant to handle one-offs. values: a list of value dicts produced by AsDict() on a value subclass. page_dict: a dictionary mapping IDs to page objects.` Data descriptors inherited from telemetry.value.Value: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` name_suffix `Returns the string after a . in the name, or the full name otherwise.`
class HistogramValueBucket(__builtin__.object)
`` |  | Methods defined here: AsDict(self) ToJSONString(self) __init__(self, low, high, count=0) Data descriptors defined here: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)`