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.inspector_memory</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>.inspector_memory</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/inspector_memory.py">telemetry/core/chrome/inspector_memory.py</a></font></td></tr></table>
     12     <p><tt>#&nbsp;Copyright&nbsp;(c)&nbsp;2013&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="json.html">json</a><br>
     23 </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>
     24 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
     25 <tr bgcolor="#ee77aa">
     26 <td colspan=3 valign=bottom>&nbsp;<br>
     27 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
     28     
     29 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
     30 <td width="100%"><dl>
     31 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
     32 </font></dt><dd>
     33 <dl>
     34 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.inspector_memory.html#InspectorMemory">InspectorMemory</a>
     35 </font></dt></dl>
     36 </dd>
     37 <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>)
     38 </font></dt><dd>
     39 <dl>
     40 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.inspector_memory.html#InspectorMemoryException">InspectorMemoryException</a>
     41 </font></dt></dl>
     42 </dd>
     43 </dl>
     44  <p>
     45 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
     46 <tr bgcolor="#ffc8d8">
     47 <td colspan=3 valign=bottom>&nbsp;<br>
     48 <font color="#000000" face="helvetica, arial"><a name="InspectorMemory">class <strong>InspectorMemory</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
     49     
     50 <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
     51 <td colspan=2><tt>Communicates&nbsp;with&nbsp;the&nbsp;remote&nbsp;inspector's&nbsp;Memory&nbsp;domain.<br>&nbsp;</tt></td></tr>
     52 <tr><td>&nbsp;</td>
     53 <td width="100%">Methods defined here:<br>
     54 <dl><dt><a name="InspectorMemory-GetDOMCounters"><strong>GetDOMCounters</strong></a>(self, timeout)</dt><dd><tt>Retrieves&nbsp;DOM&nbsp;element&nbsp;counts.<br>
     55 &nbsp;<br>
     56 Args:<br>
     57 &nbsp;&nbsp;timeout:&nbsp;The&nbsp;number&nbsp;of&nbsp;seconds&nbsp;to&nbsp;wait&nbsp;for&nbsp;the&nbsp;inspector&nbsp;backend&nbsp;to<br>
     58 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;service&nbsp;the&nbsp;request&nbsp;before&nbsp;timing&nbsp;out.<br>
     59 &nbsp;<br>
     60 Returns:<br>
     61 &nbsp;&nbsp;A&nbsp;dictionary&nbsp;containing&nbsp;the&nbsp;counts&nbsp;associated&nbsp;with&nbsp;"nodes",&nbsp;"documents",<br>
     62 &nbsp;&nbsp;and&nbsp;"jsEventListeners".</tt></dd></dl>
     63 
     64 <dl><dt><a name="InspectorMemory-__init__"><strong>__init__</strong></a>(self, inspector_backend)</dt></dl>
     65 
     66 <hr>
     67 Data descriptors defined here:<br>
     68 <dl><dt><strong>__dict__</strong></dt>
     69 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
     70 </dl>
     71 <dl><dt><strong>__weakref__</strong></dt>
     72 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
     73 </dl>
     74 </td></tr></table> <p>
     75 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
     76 <tr bgcolor="#ffc8d8">
     77 <td colspan=3 valign=bottom>&nbsp;<br>
     78 <font color="#000000" face="helvetica, arial"><a name="InspectorMemoryException">class <strong>InspectorMemoryException</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
     79     
     80 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
     81 <td width="100%"><dl><dt>Method resolution order:</dt>
     82 <dd><a href="telemetry.core.chrome.inspector_memory.html#InspectorMemoryException">InspectorMemoryException</a></dd>
     83 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
     84 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
     85 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
     86 </dl>
     87 <hr>
     88 Data descriptors defined here:<br>
     89 <dl><dt><strong>__weakref__</strong></dt>
     90 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
     91 </dl>
     92 <hr>
     93 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
     94 <dl><dt><a name="InspectorMemoryException-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#InspectorMemoryException-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;help(type(x))&nbsp;for&nbsp;signature</tt></dd></dl>
     95 
     96 <hr>
     97 Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
     98 <dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#InspectorMemoryException-__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>
     99 
    100 <hr>
    101 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
    102 <dl><dt><a name="InspectorMemoryException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#InspectorMemoryException-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
    103 
    104 <dl><dt><a name="InspectorMemoryException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#InspectorMemoryException-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
    105 
    106 <dl><dt><a name="InspectorMemoryException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#InspectorMemoryException-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
    107 
    108 <dl><dt><a name="InspectorMemoryException-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#InspectorMemoryException-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
    109 &nbsp;<br>
    110 Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
    111 
    112 <dl><dt><a name="InspectorMemoryException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
    113 
    114 <dl><dt><a name="InspectorMemoryException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#InspectorMemoryException-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
    115 
    116 <dl><dt><a name="InspectorMemoryException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#InspectorMemoryException-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
    117 
    118 <dl><dt><a name="InspectorMemoryException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
    119 
    120 <dl><dt><a name="InspectorMemoryException-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#InspectorMemoryException-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
    121 
    122 <dl><dt><a name="InspectorMemoryException-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
    123 
    124 <hr>
    125 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
    126 <dl><dt><strong>__dict__</strong></dt>
    127 </dl>
    128 <dl><dt><strong>args</strong></dt>
    129 </dl>
    130 <dl><dt><strong>message</strong></dt>
    131 </dl>
    132 </td></tr></table></td></tr></table>
    133 </body></html>