Home | History | Annotate | Download | only in pydoc
      1 
      2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      3 <html><head><title>Python: package telemetry.internal.platform.profiler</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>&nbsp;<br>
     10 <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.internal.platform.html"><font color="#ffffff">platform</font></a>.profiler</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/internal/platform/profiler/__init__.py">telemetry/internal/platform/profiler/__init__.py</a></font></td></tr></table>
     13     <p><tt>#&nbsp;Copyright&nbsp;2013&nbsp;The&nbsp;Chromium&nbsp;Authors.&nbsp;All&nbsp;rights&nbsp;reserved.<br>
     14 #&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>
     15 #&nbsp;found&nbsp;in&nbsp;the&nbsp;LICENSE&nbsp;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>&nbsp;<br>
     20 <font color="#ffffff" face="helvetica, arial"><big><strong>Package Contents</strong></big></font></td></tr>
     21     
     22 <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
     23 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="telemetry.internal.platform.profiler.android_prebuilt_profiler_helper.html">android_prebuilt_profiler_helper</a><br>
     24 <a href="telemetry.internal.platform.profiler.android_profiling_helper.html">android_profiling_helper</a><br>
     25 <a href="telemetry.internal.platform.profiler.android_profiling_helper_unittest.html">android_profiling_helper_unittest</a><br>
     26 <a href="telemetry.internal.platform.profiler.android_screen_recorder_profiler.html">android_screen_recorder_profiler</a><br>
     27 <a href="telemetry.internal.platform.profiler.android_screen_recorder_profiler_unittest.html">android_screen_recorder_profiler_unittest</a><br>
     28 <a href="telemetry.internal.platform.profiler.android_systrace_profiler.html">android_systrace_profiler</a><br>
     29 <a href="telemetry.internal.platform.profiler.android_systrace_profiler_unittest.html">android_systrace_profiler_unittest</a><br>
     30 </td><td width="25%" valign=top><a href="telemetry.internal.platform.profiler.android_traceview_profiler.html">android_traceview_profiler</a><br>
     31 <a href="telemetry.internal.platform.profiler.iprofiler_profiler.html">iprofiler_profiler</a><br>
     32 <a href="telemetry.internal.platform.profiler.java_heap_profiler.html">java_heap_profiler</a><br>
     33 <a href="telemetry.internal.platform.profiler.monsoon.html">monsoon</a><br>
     34 <a href="telemetry.internal.platform.profiler.monsoon_profiler.html">monsoon_profiler</a><br>
     35 <a href="telemetry.internal.platform.profiler.netlog_profiler.html">netlog_profiler</a><br>
     36 <a href="telemetry.internal.platform.profiler.oomkiller_profiler.html">oomkiller_profiler</a><br>
     37 </td><td width="25%" valign=top><a href="telemetry.internal.platform.profiler.perf_profiler.html">perf_profiler</a><br>
     38 <a href="telemetry.internal.platform.profiler.perf_profiler_unittest.html">perf_profiler_unittest</a><br>
     39 <a href="telemetry.internal.platform.profiler.profiler_finder.html">profiler_finder</a><br>
     40 <a href="telemetry.internal.platform.profiler.sample_profiler.html">sample_profiler</a><br>
     41 <a href="telemetry.internal.platform.profiler.strace_profiler.html">strace_profiler</a><br>
     42 <a href="telemetry.internal.platform.profiler.tcmalloc_heap_profiler.html">tcmalloc_heap_profiler</a><br>
     43 <a href="telemetry.internal.platform.profiler.tcpdump_profiler.html">tcpdump_profiler</a><br>
     44 </td><td width="25%" valign=top><a href="telemetry.internal.platform.profiler.trace_profiler.html">trace_profiler</a><br>
     45 <a href="telemetry.internal.platform.profiler.trace_profiler_unittest.html">trace_profiler_unittest</a><br>
     46 <a href="telemetry.internal.platform.profiler.v8_profiler.html">v8_profiler</a><br>
     47 <a href="telemetry.internal.platform.profiler.vtune_profiler.html">vtune_profiler</a><br>
     48 <a href="telemetry.internal.platform.profiler.vtune_profiler_unittest.html">vtune_profiler_unittest</a><br>
     49 <a href="telemetry.internal.platform.profiler.win_pgo_profiler.html">win_pgo_profiler</a><br>
     50 </td></tr></table></td></tr></table><p>
     51 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
     52 <tr bgcolor="#ee77aa">
     53 <td colspan=3 valign=bottom>&nbsp;<br>
     54 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
     55     
     56 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
     57 <td width="100%"><dl>
     58 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
     59 </font></dt><dd>
     60 <dl>
     61 <dt><font face="helvetica, arial"><a href="telemetry.internal.platform.profiler.html#Profiler">Profiler</a>
     62 </font></dt></dl>
     63 </dd>
     64 </dl>
     65  <p>
     66 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
     67 <tr bgcolor="#ffc8d8">
     68 <td colspan=3 valign=bottom>&nbsp;<br>
     69 <font color="#000000" face="helvetica, arial"><a name="Profiler">class <strong>Profiler</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
     70     
     71 <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
     72 <td colspan=2><tt>A&nbsp;sampling&nbsp;profiler&nbsp;provided&nbsp;by&nbsp;the&nbsp;platform.<br>
     73 &nbsp;<br>
     74 A&nbsp;profiler&nbsp;is&nbsp;started&nbsp;on&nbsp;its&nbsp;constructor,&nbsp;and&nbsp;should<br>
     75 gather&nbsp;data&nbsp;until&nbsp;<a href="#Profiler-CollectProfile">CollectProfile</a>().<br>
     76 The&nbsp;life&nbsp;cycle&nbsp;is&nbsp;normally&nbsp;tied&nbsp;to&nbsp;a&nbsp;single&nbsp;page,<br>
     77 i.e.,&nbsp;multiple&nbsp;profilers&nbsp;will&nbsp;be&nbsp;created&nbsp;for&nbsp;a&nbsp;page&nbsp;set.<br>
     78 <a href="#Profiler-WillCloseBrowser">WillCloseBrowser</a>()&nbsp;is&nbsp;called&nbsp;right&nbsp;before&nbsp;the&nbsp;browser<br>
     79 is&nbsp;closed&nbsp;to&nbsp;allow&nbsp;any&nbsp;further&nbsp;cleanup.<br>&nbsp;</tt></td></tr>
     80 <tr><td>&nbsp;</td>
     81 <td width="100%">Methods defined here:<br>
     82 <dl><dt><a name="Profiler-CollectProfile"><strong>CollectProfile</strong></a>(self)</dt><dd><tt>Collect&nbsp;the&nbsp;profile&nbsp;from&nbsp;the&nbsp;profiler.</tt></dd></dl>
     83 
     84 <dl><dt><a name="Profiler-__init__"><strong>__init__</strong></a>(self, browser_backend, platform_backend, output_path, state)</dt></dl>
     85 
     86 <hr>
     87 Class methods defined here:<br>
     88 <dl><dt><a name="Profiler-CustomizeBrowserOptions"><strong>CustomizeBrowserOptions</strong></a>(cls, browser_type, options)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt><dd><tt>Override&nbsp;to&nbsp;customize&nbsp;the&nbsp;Browser's&nbsp;options&nbsp;before&nbsp;it&nbsp;is&nbsp;created.</tt></dd></dl>
     89 
     90 <dl><dt><a name="Profiler-WillCloseBrowser"><strong>WillCloseBrowser</strong></a>(cls, browser_backend, platform_backend)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt><dd><tt>Called&nbsp;before&nbsp;the&nbsp;browser&nbsp;is&nbsp;stopped.</tt></dd></dl>
     91 
     92 <dl><dt><a name="Profiler-is_supported"><strong>is_supported</strong></a>(cls, browser_type)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt><dd><tt>True&nbsp;iff&nbsp;this&nbsp;profiler&nbsp;is&nbsp;currently&nbsp;supported&nbsp;by&nbsp;the&nbsp;platform.</tt></dd></dl>
     93 
     94 <dl><dt><a name="Profiler-name"><strong>name</strong></a>(cls)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt><dd><tt>User-friendly&nbsp;name&nbsp;of&nbsp;this&nbsp;profiler.</tt></dd></dl>
     95 
     96 <hr>
     97 Data descriptors defined here:<br>
     98 <dl><dt><strong>__dict__</strong></dt>
     99 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
    100 </dl>
    101 <dl><dt><strong>__weakref__</strong></dt>
    102 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
    103 </dl>
    104 </td></tr></table></td></tr></table>
    105 </body></html>