OLD | NEW |
| (Empty) |
1 | |
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
3 <html><head><title>Python: module telemetry.value.summary</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>.summary</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/summary.py">telemetry/value/summary.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.failure.html">telemetry.value.failure</a><br> | |
24 </td><td width="25%" valign=top><a href="telemetry.value.merge_values.html">tele
metry.value.merge_values</a><br> | |
25 </td><td width="25%" valign=top><a href="telemetry.value.skip.html">telemetry.va
lue.skip</a><br> | |
26 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> | |
27 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
28 <tr bgcolor="#ee77aa"> | |
29 <td colspan=3 valign=bottom> <br> | |
30 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | |
31 | |
32 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | |
33 <td width="100%"><dl> | |
34 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> | |
35 </font></dt><dd> | |
36 <dl> | |
37 <dt><font face="helvetica, arial"><a href="telemetry.value.summary.html#Summary"
>Summary</a> | |
38 </font></dt></dl> | |
39 </dd> | |
40 </dl> | |
41 <p> | |
42 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
43 <tr bgcolor="#ffc8d8"> | |
44 <td colspan=3 valign=bottom> <br> | |
45 <font color="#000000" face="helvetica, arial"><a name="Summary">class <strong>Su
mmary</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</fo
nt></td></tr> | |
46 | |
47 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> | |
48 <td colspan=2><tt>Computes summary values from the per-
page-run values produced by a test.<br> | |
49 <br> | |
50 Some telemetry benchmark repeat a number of t
imes in order to get a reliable<br> | |
51 measurement. The test does not have to handle
merging of these runs:<br> | |
52 summarizer does it for you.<br> | |
53 <br> | |
54 For instance, if two pages run, 3 and 1&
nbsp;time respectively:<br> | |
55 ScalarValue(page1, 'foo', units='ms', 1)<
br> | |
56 ScalarValue(page1, 'foo', units='ms', 1)<
br> | |
57 ScalarValue(page1, 'foo', units='ms', 1)<
br> | |
58 ScalarValue(page2, 'foo', units='ms', 2)<
br> | |
59 <br> | |
60 Then summarizer will produce two sets of valu
es. First,<br> | |
61 computed_per_page_values:<br> | |
62 [<br> | |
63 ListOfScalarValues(page1, 'foo',&
nbsp;units='ms', [1,1,1])],<br> | |
64 ListOfScalarValues(page2, 'foo',&
nbsp;units='ms', [2])]<br> | |
65 ]<br> | |
66 <br> | |
67 In addition, it will produce a summary value:
<br> | |
68 [<br> | |
69 ListOfScalarValues(page=None, 'fo
o', units='ms', [1,1,1,2])]<br> | |
70 ]<br> </tt></td></tr> | |
71 <tr><td> </td> | |
72 <td width="100%">Methods defined here:<br> | |
73 <dl><dt><a name="Summary-__init__"><strong>__init__</strong></a>(self, all_page_
specific_values, key_func<font color="#909090">=<function DefaultKeyFunc><
/font>)</dt></dl> | |
74 | |
75 <hr> | |
76 Data descriptors defined here:<br> | |
77 <dl><dt><strong>__dict__</strong></dt> | |
78 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | |
79 </dl> | |
80 <dl><dt><strong>__weakref__</strong></dt> | |
81 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
82 </dl> | |
83 <dl><dt><strong>computed_per_page_values</strong></dt> | |
84 </dl> | |
85 <dl><dt><strong>computed_summary_values</strong></dt> | |
86 </dl> | |
87 <dl><dt><strong>interleaved_computed_per_page_values_and_summaries</strong></dt> | |
88 <dd><tt>Returns the computed per page values and&n
bsp;summary values interleaved.<br> | |
89 <br> | |
90 All the results for a given name are pri
nted together. First per page<br> | |
91 values, then summary values.</tt></dd> | |
92 </dl> | |
93 </td></tr></table></td></tr></table> | |
94 </body></html> | |
OLD | NEW |