1 2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module telemetry.web_perf.metrics.rendering_frame</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 href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.web_perf.html"><font color="#ffffff">web_perf</font></a>.<a href="telemetry.web_perf.metrics.html"><font color="#ffffff">metrics</font></a>.rendering_frame</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/web_perf/metrics/rendering_frame.py">telemetry/web_perf/metrics/rendering_frame.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=top><a href="telemetry.timeline.bounds.html">telemetry.timeline.bounds</a><br> 24</td><td width="25%" valign=top><a href="telemetry.timeline.slice.html">telemetry.timeline.slice</a><br> 25</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> 26<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 27<tr bgcolor="#ee77aa"> 28<td colspan=3 valign=bottom> <br> 29<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 30 31<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 32<td width="100%"><dl> 33<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a> 34</font></dt><dd> 35<dl> 36<dt><font face="helvetica, arial"><a href="telemetry.web_perf.metrics.rendering_frame.html#RenderingFrame">RenderingFrame</a> 37</font></dt></dl> 38</dd> 39<dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>) 40</font></dt><dd> 41<dl> 42<dt><font face="helvetica, arial"><a href="telemetry.web_perf.metrics.rendering_frame.html#MissingData">MissingData</a> 43</font></dt><dt><font face="helvetica, arial"><a href="telemetry.web_perf.metrics.rendering_frame.html#NoBeginFrameIdException">NoBeginFrameIdException</a> 44</font></dt></dl> 45</dd> 46</dl> 47 <p> 48<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 49<tr bgcolor="#ffc8d8"> 50<td colspan=3 valign=bottom> <br> 51<font color="#000000" face="helvetica, arial"><a name="MissingData">class <strong>MissingData</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr> 52 53<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 54<td width="100%"><dl><dt>Method resolution order:</dt> 55<dd><a href="telemetry.web_perf.metrics.rendering_frame.html#MissingData">MissingData</a></dd> 56<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> 57<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> 58<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 59</dl> 60<hr> 61Data descriptors defined here:<br> 62<dl><dt><strong>__weakref__</strong></dt> 63<dd><tt>list of weak references to the object (if defined)</tt></dd> 64</dl> 65<hr> 66Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> 67<dl><dt><a name="MissingData-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#MissingData-__init__">__init__</a>(...) initializes x; see help(type(x)) for signature</tt></dd></dl> 68 69<hr> 70Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> 71<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#MissingData-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> 72 73<hr> 74Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> 75<dl><dt><a name="MissingData-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#MissingData-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl> 76 77<dl><dt><a name="MissingData-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#MissingData-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> 78 79<dl><dt><a name="MissingData-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#MissingData-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> 80 81<dl><dt><a name="MissingData-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#MissingData-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br> 82 <br> 83Use of negative indices is not supported.</tt></dd></dl> 84 85<dl><dt><a name="MissingData-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> 86 87<dl><dt><a name="MissingData-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#MissingData-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> 88 89<dl><dt><a name="MissingData-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#MissingData-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl> 90 91<dl><dt><a name="MissingData-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> 92 93<dl><dt><a name="MissingData-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#MissingData-__str__">__str__</a>() <==> str(x)</tt></dd></dl> 94 95<dl><dt><a name="MissingData-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> 96 97<hr> 98Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> 99<dl><dt><strong>__dict__</strong></dt> 100</dl> 101<dl><dt><strong>args</strong></dt> 102</dl> 103<dl><dt><strong>message</strong></dt> 104</dl> 105</td></tr></table> <p> 106<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 107<tr bgcolor="#ffc8d8"> 108<td colspan=3 valign=bottom> <br> 109<font color="#000000" face="helvetica, arial"><a name="NoBeginFrameIdException">class <strong>NoBeginFrameIdException</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr> 110 111<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 112<td width="100%"><dl><dt>Method resolution order:</dt> 113<dd><a href="telemetry.web_perf.metrics.rendering_frame.html#NoBeginFrameIdException">NoBeginFrameIdException</a></dd> 114<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> 115<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> 116<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 117</dl> 118<hr> 119Data descriptors defined here:<br> 120<dl><dt><strong>__weakref__</strong></dt> 121<dd><tt>list of weak references to the object (if defined)</tt></dd> 122</dl> 123<hr> 124Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> 125<dl><dt><a name="NoBeginFrameIdException-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#NoBeginFrameIdException-__init__">__init__</a>(...) initializes x; see help(type(x)) for signature</tt></dd></dl> 126 127<hr> 128Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> 129<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#NoBeginFrameIdException-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> 130 131<hr> 132Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> 133<dl><dt><a name="NoBeginFrameIdException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#NoBeginFrameIdException-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl> 134 135<dl><dt><a name="NoBeginFrameIdException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#NoBeginFrameIdException-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> 136 137<dl><dt><a name="NoBeginFrameIdException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#NoBeginFrameIdException-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> 138 139<dl><dt><a name="NoBeginFrameIdException-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#NoBeginFrameIdException-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br> 140 <br> 141Use of negative indices is not supported.</tt></dd></dl> 142 143<dl><dt><a name="NoBeginFrameIdException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> 144 145<dl><dt><a name="NoBeginFrameIdException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#NoBeginFrameIdException-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> 146 147<dl><dt><a name="NoBeginFrameIdException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#NoBeginFrameIdException-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl> 148 149<dl><dt><a name="NoBeginFrameIdException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> 150 151<dl><dt><a name="NoBeginFrameIdException-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#NoBeginFrameIdException-__str__">__str__</a>() <==> str(x)</tt></dd></dl> 152 153<dl><dt><a name="NoBeginFrameIdException-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> 154 155<hr> 156Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> 157<dl><dt><strong>__dict__</strong></dt> 158</dl> 159<dl><dt><strong>args</strong></dt> 160</dl> 161<dl><dt><strong>message</strong></dt> 162</dl> 163</td></tr></table> <p> 164<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 165<tr bgcolor="#ffc8d8"> 166<td colspan=3 valign=bottom> <br> 167<font color="#000000" face="helvetica, arial"><a name="RenderingFrame">class <strong>RenderingFrame</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> 168 169<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> 170<td colspan=2><tt>Object with information about the triggering of a BeginMainFrame event.<br> </tt></td></tr> 171<tr><td> </td> 172<td width="100%">Methods defined here:<br> 173<dl><dt><a name="RenderingFrame-__init__"><strong>__init__</strong></a>(self, events)</dt></dl> 174 175<hr> 176Static methods defined here:<br> 177<dl><dt><a name="RenderingFrame-IsEventUseful"><strong>IsEventUseful</strong></a>(event)</dt></dl> 178 179<hr> 180Data descriptors defined here:<br> 181<dl><dt><strong>__dict__</strong></dt> 182<dd><tt>dictionary for instance variables (if defined)</tt></dd> 183</dl> 184<dl><dt><strong>__weakref__</strong></dt> 185<dd><tt>list of weak references to the object (if defined)</tt></dd> 186</dl> 187<dl><dt><strong>bounds</strong></dt> 188</dl> 189<dl><dt><strong>queueing_duration</strong></dt> 190</dl> 191<hr> 192Data and other attributes defined here:<br> 193<dl><dt><strong>begin_main_frame_event</strong> = 'ThreadProxy::BeginMainFrame'</dl> 194 195<dl><dt><strong>send_begin_frame_event</strong> = 'ThreadProxy::ScheduledActionSendBeginMainFrame'</dl> 196 197</td></tr></table></td></tr></table><p> 198<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 199<tr bgcolor="#eeaa77"> 200<td colspan=3 valign=bottom> <br> 201<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> 202 203<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> 204<td width="100%"><dl><dt><a name="-GetFrameEventsInsideRange"><strong>GetFrameEventsInsideRange</strong></a>(renderer_process, timeline_range)</dt><dd><tt>Returns RenderingFrames for all relevant events in the timeline_range.</tt></dd></dl> 205</td></tr></table> 206</body></html>