<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module telemetry.value.summary</title>
<meta charset="utf-8">
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="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
><td align=right valign=bottom
><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>
<p><tt># Copyright 2014 The Chromium Authors. All rights reserved.<br>
# Use of this source code is governed by a BSD-style license that can be<br>
# found in the LICENSE file.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="telemetry.value.failure.html">telemetry.value.failure</a><br>
</td><td width="25%" valign=top><a href="telemetry.value.merge_values.html">telemetry.value.merge_values</a><br>
</td><td width="25%" valign=top><a href="telemetry.value.skip.html">telemetry.value.skip</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="telemetry.value.summary.html#Summary">Summary</a>
</font></dt></dl>
</dd>
</dl>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Summary">class <strong>Summary</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Computes summary values from the per-page-run values produced by a test.<br>
<br>
Some telemetry benchmark repeat a number of times in order to get a reliable<br>
measurement. The test does not have to handle merging of these runs:<br>
summarizer does it for you.<br>
<br>
For instance, if two pages run, 3 and 1 time respectively:<br>
ScalarValue(page1, 'foo', units='ms', 1)<br>
ScalarValue(page1, 'foo', units='ms', 1)<br>
ScalarValue(page1, 'foo', units='ms', 1)<br>
ScalarValue(page2, 'foo', units='ms', 2)<br>
<br>
Then summarizer will produce two sets of values. First,<br>
computed_per_page_values:<br>
[<br>
ListOfScalarValues(page1, 'foo', units='ms', [1,1,1])],<br>
ListOfScalarValues(page2, 'foo', units='ms', [2])]<br>
]<br>
<br>
In addition, it will produce a summary value:<br>
[<br>
ListOfScalarValues(page=None, 'foo', units='ms', [1,1,1,2])]<br>
]<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<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>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</tt></dd>
</dl>
<dl><dt><strong>computed_per_page_values</strong></dt>
</dl>
<dl><dt><strong>computed_summary_values</strong></dt>
</dl>
<dl><dt><strong>interleaved_computed_per_page_values_and_summaries</strong></dt>
<dd><tt>Returns the computed per page values and summary values interleaved.<br>
<br>
All the results for a given name are printed together. First per page<br>
values, then summary values.</tt></dd>
</dl>
</td></tr></table></td></tr></table>
</body></html>