Home | History | Annotate | Download | only in docs
      1 
      2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      3 <html><head><title>Python: module telemetry.core.chrome.tracing_backend</title>
      4 </head><body bgcolor="#f0f0f8">
      5 
      6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
      7 <tr bgcolor="#7799ee">
      8 <td valign=bottom>&nbsp;<br>
      9 <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.core.html"><font color="#ffffff">core</font></a>.<a href="telemetry.core.chrome.html"><font color="#ffffff">chrome</font></a>.tracing_backend</strong></big></big></font></td
     10 ><td align=right valign=bottom
     11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/core/chrome/tracing_backend.py">telemetry/core/chrome/tracing_backend.py</a></font></td></tr></table>
     12     <p><tt>#&nbsp;Copyright&nbsp;(c)&nbsp;2012&nbsp;The&nbsp;Chromium&nbsp;Authors.&nbsp;All&nbsp;rights&nbsp;reserved.<br>
     13 #&nbsp;Use&nbsp;of&nbsp;this&nbsp;source&nbsp;code&nbsp;is&nbsp;governed&nbsp;by&nbsp;a&nbsp;BSD-style&nbsp;license&nbsp;that&nbsp;can&nbsp;be<br>
     14 #&nbsp;found&nbsp;in&nbsp;the&nbsp;LICENSE&nbsp;file.</tt></p>
     15 <p>
     16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
     17 <tr bgcolor="#aa55cc">
     18 <td colspan=3 valign=bottom>&nbsp;<br>
     19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
     20     
     21 <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
     22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="cStringIO.html">cStringIO</a><br>
     23 <a href="json.html">json</a><br>
     24 <a href="logging.html">logging</a><br>
     25 </td><td width="25%" valign=top><a href="telemetry.core.timeline.model.html">telemetry.core.timeline.model</a><br>
     26 <a href="socket.html">socket</a><br>
     27 <a href="threading.html">threading</a><br>
     28 </td><td width="25%" valign=top><a href="telemetry.core.chrome.trace_result.html">telemetry.core.chrome.trace_result</a><br>
     29 <a href="telemetry.core.util.html">telemetry.core.util</a><br>
     30 <a href="telemetry.core.chrome.websocket.html">telemetry.core.chrome.websocket</a><br>
     31 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
     32 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
     33 <tr bgcolor="#ee77aa">
     34 <td colspan=3 valign=bottom>&nbsp;<br>
     35 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
     36     
     37 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
     38 <td width="100%"><dl>
     39 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
     40 </font></dt><dd>
     41 <dl>
     42 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.tracing_backend.html#TraceResultImpl">TraceResultImpl</a>
     43 </font></dt><dt><font face="helvetica, arial"><a href="telemetry.core.chrome.tracing_backend.html#TracingBackend">TracingBackend</a>
     44 </font></dt></dl>
     45 </dd>
     46 <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>)
     47 </font></dt><dd>
     48 <dl>
     49 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.tracing_backend.html#TracingUnsupportedException">TracingUnsupportedException</a>
     50 </font></dt></dl>
     51 </dd>
     52 </dl>
     53  <p>
     54 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
     55 <tr bgcolor="#ffc8d8">
     56 <td colspan=3 valign=bottom>&nbsp;<br>
     57 <font color="#000000" face="helvetica, arial"><a name="TraceResultImpl">class <strong>TraceResultImpl</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
     58     
     59 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
     60 <td width="100%">Methods defined here:<br>
     61 <dl><dt><a name="TraceResultImpl-AsTimelineModel"><strong>AsTimelineModel</strong></a>(self)</dt></dl>
     62 
     63 <dl><dt><a name="TraceResultImpl-Serialize"><strong>Serialize</strong></a>(self, f)</dt></dl>
     64 
     65 <dl><dt><a name="TraceResultImpl-__init__"><strong>__init__</strong></a>(self, tracing_data)</dt></dl>
     66 
     67 <hr>
     68 Data descriptors defined here:<br>
     69 <dl><dt><strong>__dict__</strong></dt>
     70 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
     71 </dl>
     72 <dl><dt><strong>__weakref__</strong></dt>
     73 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
     74 </dl>
     75 </td></tr></table> <p>
     76 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
     77 <tr bgcolor="#ffc8d8">
     78 <td colspan=3 valign=bottom>&nbsp;<br>
     79 <font color="#000000" face="helvetica, arial"><a name="TracingBackend">class <strong>TracingBackend</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
     80     
     81 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
     82 <td width="100%">Methods defined here:<br>
     83 <dl><dt><a name="TracingBackend-BeginTracing"><strong>BeginTracing</strong></a>(self, custom_categories<font color="#909090">=None</font>, timeout<font color="#909090">=10</font>)</dt></dl>
     84 
     85 <dl><dt><a name="TracingBackend-Close"><strong>Close</strong></a>(self)</dt></dl>
     86 
     87 <dl><dt><a name="TracingBackend-EndTracing"><strong>EndTracing</strong></a>(self)</dt></dl>
     88 
     89 <dl><dt><a name="TracingBackend-GetTraceResultAndReset"><strong>GetTraceResultAndReset</strong></a>(self)</dt></dl>
     90 
     91 <dl><dt><a name="TracingBackend-__init__"><strong>__init__</strong></a>(self, devtools_port)</dt></dl>
     92 
     93 <hr>
     94 Data descriptors defined here:<br>
     95 <dl><dt><strong>__dict__</strong></dt>
     96 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
     97 </dl>
     98 <dl><dt><strong>__weakref__</strong></dt>
     99 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
    100 </dl>
    101 </td></tr></table> <p>
    102 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
    103 <tr bgcolor="#ffc8d8">
    104 <td colspan=3 valign=bottom>&nbsp;<br>
    105 <font color="#000000" face="helvetica, arial"><a name="TracingUnsupportedException">class <strong>TracingUnsupportedException</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
    106     
    107 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
    108 <td width="100%"><dl><dt>Method resolution order:</dt>
    109 <dd><a href="telemetry.core.chrome.tracing_backend.html#TracingUnsupportedException">TracingUnsupportedException</a></dd>
    110 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
    111 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
    112 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
    113 </dl>
    114 <hr>
    115 Data descriptors defined here:<br>
    116 <dl><dt><strong>__weakref__</strong></dt>
    117 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
    118 </dl>
    119 <hr>
    120 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
    121 <dl><dt><a name="TracingUnsupportedException-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#TracingUnsupportedException-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;help(type(x))&nbsp;for&nbsp;signature</tt></dd></dl>
    122 
    123 <hr>
    124 Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
    125 <dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#TracingUnsupportedException-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
    126 
    127 <hr>
    128 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
    129 <dl><dt><a name="TracingUnsupportedException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#TracingUnsupportedException-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
    130 
    131 <dl><dt><a name="TracingUnsupportedException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#TracingUnsupportedException-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
    132 
    133 <dl><dt><a name="TracingUnsupportedException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#TracingUnsupportedException-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
    134 
    135 <dl><dt><a name="TracingUnsupportedException-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#TracingUnsupportedException-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
    136 &nbsp;<br>
    137 Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
    138 
    139 <dl><dt><a name="TracingUnsupportedException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
    140 
    141 <dl><dt><a name="TracingUnsupportedException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#TracingUnsupportedException-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
    142 
    143 <dl><dt><a name="TracingUnsupportedException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#TracingUnsupportedException-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
    144 
    145 <dl><dt><a name="TracingUnsupportedException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
    146 
    147 <dl><dt><a name="TracingUnsupportedException-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#TracingUnsupportedException-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
    148 
    149 <dl><dt><a name="TracingUnsupportedException-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
    150 
    151 <hr>
    152 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
    153 <dl><dt><strong>__dict__</strong></dt>
    154 </dl>
    155 <dl><dt><strong>args</strong></dt>
    156 </dl>
    157 <dl><dt><strong>message</strong></dt>
    158 </dl>
    159 </td></tr></table></td></tr></table>
    160 </body></html>