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> <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.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># Copyright 2013 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>Package Contents</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.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> <br> 54 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 55 56 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </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> <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> </tt></td> 72 <td colspan=2><tt>A sampling profiler provided by the platform.<br> 73 <br> 74 A profiler is started on its constructor, and should<br> 75 gather data until <a href="#Profiler-CollectProfile">CollectProfile</a>().<br> 76 The life cycle is normally tied to a single page,<br> 77 i.e., multiple profilers will be created for a page set.<br> 78 <a href="#Profiler-WillCloseBrowser">WillCloseBrowser</a>() is called right before the browser<br> 79 is closed to allow any further cleanup.<br> </tt></td></tr> 80 <tr><td> </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 the profile from the 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 to customize the Browser's options before it is 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 before the browser is 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 iff this profiler is currently supported by the 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 name of this profiler.</tt></dd></dl> 95 96 <hr> 97 Data descriptors defined here:<br> 98 <dl><dt><strong>__dict__</strong></dt> 99 <dd><tt>dictionary for instance variables (if defined)</tt></dd> 100 </dl> 101 <dl><dt><strong>__weakref__</strong></dt> 102 <dd><tt>list of weak references to the object (if defined)</tt></dd> 103 </dl> 104 </td></tr></table></td></tr></table> 105 </body></html>