| OLD | NEW |
| (Empty) |
| 1 | |
| 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
| 3 <html><head><title>Python: module telemetry.value.summarizable</title> | |
| 4 <meta charset="utf-8"> | |
| 5 </head><body bgcolor="#f0f0f8"> | |
| 6 | |
| 7 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> | |
| 8 <tr bgcolor="#7799ee"> | |
| 9 <td valign=bottom> <br> | |
| 10 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.value.html"><font color="#ffffff">value</font></a>.summarizable</strong></big><
/big></font></td | |
| 11 ><td align=right valign=bottom | |
| 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/value/summarizable.py">telemetry/value/summarizable.py</a></font><
/td></tr></table> | |
| 13 <p><tt># Copyright 2014 The Chromium Authors.
All rights reserved.<br> | |
| 14 # Use of this source code is governed by
a BSD-style license that can be<br> | |
| 15 # found in the LICENSE file.</tt></p> | |
| 16 <p> | |
| 17 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 18 <tr bgcolor="#aa55cc"> | |
| 19 <td colspan=3 valign=bottom> <br> | |
| 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> | |
| 21 | |
| 22 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> | |
| 23 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="telemetry.value.html">telemetry.value</a><br> | |
| 24 </td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="
25%" valign=top></td></tr></table></td></tr></table><p> | |
| 25 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 26 <tr bgcolor="#ee77aa"> | |
| 27 <td colspan=3 valign=bottom> <br> | |
| 28 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | |
| 29 | |
| 30 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | |
| 31 <td width="100%"><dl> | |
| 32 <dt><font face="helvetica, arial"><a href="telemetry.value.html#Value">telemetry
.value.Value</a>(<a href="__builtin__.html#object">__builtin__.object</a>) | |
| 33 </font></dt><dd> | |
| 34 <dl> | |
| 35 <dt><font face="helvetica, arial"><a href="telemetry.value.summarizable.html#Sum
marizableValue">SummarizableValue</a> | |
| 36 </font></dt></dl> | |
| 37 </dd> | |
| 38 </dl> | |
| 39 <p> | |
| 40 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 41 <tr bgcolor="#ffc8d8"> | |
| 42 <td colspan=3 valign=bottom> <br> | |
| 43 <font color="#000000" face="helvetica, arial"><a name="SummarizableValue">class
<strong>SummarizableValue</strong></a>(<a href="telemetry.value.html#Value">tele
metry.value.Value</a>)</font></td></tr> | |
| 44 | |
| 45 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | |
| 46 <td width="100%"><dl><dt>Method resolution order:</dt> | |
| 47 <dd><a href="telemetry.value.summarizable.html#SummarizableValue">SummarizableVa
lue</a></dd> | |
| 48 <dd><a href="telemetry.value.html#Value">telemetry.value.Value</a></dd> | |
| 49 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> | |
| 50 </dl> | |
| 51 <hr> | |
| 52 Methods defined here:<br> | |
| 53 <dl><dt><a name="SummarizableValue-AsDict"><strong>AsDict</strong></a>(self)</dt
></dl> | |
| 54 | |
| 55 <dl><dt><a name="SummarizableValue-AsDictWithoutBaseClassEntries"><strong>AsDict
WithoutBaseClassEntries</strong></a>(self)</dt></dl> | |
| 56 | |
| 57 <dl><dt><a name="SummarizableValue-GetBuildbotDataType"><strong>GetBuildbotDataT
ype</strong></a>(self, output_context)</dt><dd><tt>Returns the buildbo
t's equivalent data_type.<br> | |
| 58 <br> | |
| 59 This should be one of the values accepted&nbs
p;by perf_tests_results_helper.py.</tt></dd></dl> | |
| 60 | |
| 61 <dl><dt><a name="SummarizableValue-GetBuildbotValue"><strong>GetBuildbotValue</s
trong></a>(self)</dt><dd><tt>Returns the buildbot's equivalent&nb
sp;value.</tt></dd></dl> | |
| 62 | |
| 63 <dl><dt><a name="SummarizableValue-GetRepresentativeNumber"><strong>GetRepresent
ativeNumber</strong></a>(self)</dt><dd><tt>Gets a single scalar&n
bsp;value that best-represents this value.<br> | |
| 64 <br> | |
| 65 Returns None if not possible.</tt></dd></dl> | |
| 66 | |
| 67 <dl><dt><a name="SummarizableValue-GetRepresentativeString"><strong>GetRepresent
ativeString</strong></a>(self)</dt><dd><tt>Gets a string value&nb
sp;that best-represents this value.<br> | |
| 68 <br> | |
| 69 Returns None if not possible.</tt></dd></dl> | |
| 70 | |
| 71 <dl><dt><a name="SummarizableValue-__init__"><strong>__init__</strong></a>(self,
page, name, units, important, description, tir_label, improvement_direction)</d
t><dd><tt>A summarizable value result from a test.
</tt></dd></dl> | |
| 72 | |
| 73 <hr> | |
| 74 Class methods defined here:<br> | |
| 75 <dl><dt><a name="SummarizableValue-MergeLikeValuesFromDifferentPages"><strong>Me
rgeLikeValuesFromDifferentPages</strong></a>(cls, values)<font color="#909090"><
font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.t
ype</a></font></font></dt></dl> | |
| 76 | |
| 77 <dl><dt><a name="SummarizableValue-MergeLikeValuesFromSamePage"><strong>MergeLik
eValuesFromSamePage</strong></a>(cls, values)<font color="#909090"><font face="h
elvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></fon
t></font></dt></dl> | |
| 78 | |
| 79 <hr> | |
| 80 Static methods defined here:<br> | |
| 81 <dl><dt><a name="SummarizableValue-GetJSONTypeName"><strong>GetJSONTypeName</str
ong></a>()</dt></dl> | |
| 82 | |
| 83 <hr> | |
| 84 Data descriptors defined here:<br> | |
| 85 <dl><dt><strong>improvement_direction</strong></dt> | |
| 86 </dl> | |
| 87 <hr> | |
| 88 Methods inherited from <a href="telemetry.value.html#Value">telemetry.value.Valu
e</a>:<br> | |
| 89 <dl><dt><a name="SummarizableValue-GetChartAndTraceNameForComputedSummaryResult"
><strong>GetChartAndTraceNameForComputedSummaryResult</strong></a>(self, trace_t
ag)</dt></dl> | |
| 90 | |
| 91 <dl><dt><a name="SummarizableValue-GetChartAndTraceNameForPerPageResult"><strong
>GetChartAndTraceNameForPerPageResult</strong></a>(self)</dt></dl> | |
| 92 | |
| 93 <dl><dt><a name="SummarizableValue-IsMergableWith"><strong>IsMergableWith</stron
g></a>(self, that)</dt></dl> | |
| 94 | |
| 95 <dl><dt><a name="SummarizableValue-__eq__"><strong>__eq__</strong></a>(self, oth
er)</dt></dl> | |
| 96 | |
| 97 <dl><dt><a name="SummarizableValue-__hash__"><strong>__hash__</strong></a>(self)
</dt></dl> | |
| 98 | |
| 99 <hr> | |
| 100 Static methods inherited from <a href="telemetry.value.html#Value">telemetry.val
ue.Value</a>:<br> | |
| 101 <dl><dt><a name="SummarizableValue-FromDict"><strong>FromDict</strong></a>(value
_dict, page_dict)</dt><dd><tt>Produces a value from a v
alue dict and a page dict.<br> | |
| 102 <br> | |
| 103 <a href="telemetry.value.html#Value">Value</a> dicts are produced
by serialization to JSON, and must be a
ccompanied<br> | |
| 104 by a dict mapping page IDs to pages, als
o produced by serialization, in<br> | |
| 105 order to be completely deserialized. If deserializ
ing multiple values, use<br> | |
| 106 ListOfValuesFromListOfDicts instead.<br> | |
| 107 <br> | |
| 108 value_dict: a dictionary produced by <a href="#Summariz
ableValue-AsDict">AsDict</a>() on a value subclass.<br> | |
| 109 page_dict: a dictionary mapping IDs to page o
bjects.</tt></dd></dl> | |
| 110 | |
| 111 <dl><dt><a name="SummarizableValue-GetConstructorKwArgs"><strong>GetConstructorK
wArgs</strong></a>(value_dict, page_dict)</dt><dd><tt>Produces constructor&
nbsp;arguments from a value dict and a page&n
bsp;dict.<br> | |
| 112 <br> | |
| 113 Takes a dict parsed from JSON and an ind
ex of pages and recovers the<br> | |
| 114 keyword arguments to be passed to the constru
ctor for deserializing the<br> | |
| 115 dict.<br> | |
| 116 <br> | |
| 117 value_dict: a dictionary produced by <a href="#Summariz
ableValue-AsDict">AsDict</a>() on a value subclass.<br> | |
| 118 page_dict: a dictionary mapping IDs to page o
bjects.</tt></dd></dl> | |
| 119 | |
| 120 <dl><dt><a name="SummarizableValue-ListOfValuesFromListOfDicts"><strong>ListOfVa
luesFromListOfDicts</strong></a>(value_dicts, page_dict)</dt><dd><tt>Takes
a list of value dicts to values.<br> | |
| 121 <br> | |
| 122 Given a list of value dicts produced by
AsDict, this method<br> | |
| 123 deserializes the dicts given a dict mapping p
age IDs to pages.<br> | |
| 124 This method performs memoization for deserializing 
;a list of values<br> | |
| 125 efficiently, where FromDict is meant to handle&nbs
p;one-offs.<br> | |
| 126 <br> | |
| 127 values: a list of value dicts produced by&nbs
p;<a href="#SummarizableValue-AsDict">AsDict</a>() on a value&nbs
p;subclass.<br> | |
| 128 page_dict: a dictionary mapping IDs to page o
bjects.</tt></dd></dl> | |
| 129 | |
| 130 <hr> | |
| 131 Data descriptors inherited from <a href="telemetry.value.html#Value">telemetry.v
alue.Value</a>:<br> | |
| 132 <dl><dt><strong>__dict__</strong></dt> | |
| 133 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | |
| 134 </dl> | |
| 135 <dl><dt><strong>__weakref__</strong></dt> | |
| 136 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
| 137 </dl> | |
| 138 <dl><dt><strong>name_suffix</strong></dt> | |
| 139 <dd><tt>Returns the string after a . in the&n
bsp;name, or the full name otherwise.</tt></dd> | |
| 140 </dl> | |
| 141 </td></tr></table></td></tr></table> | |
| 142 </body></html> | |
| OLD | NEW |