2 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.internal.platform.profiler.trace_profiler
</title>
5 </head><body bgcolor=
"#f0f0f8">
7 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"heading">
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>.
<a href=
"telemetry.internal.platform.profiler.html"><font color=
"#ffffff">profiler
</font></a>.trace_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/trace_profiler.py">telemetry/internal/platform/profiler/trace_profiler.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>
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>
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=
"StringIO.html">StringIO
</a><br>
24 <a href=
"os.html">os
</a><br>
25 </td><td width=
"25%" valign=top
><a href=
"telemetry.internal.platform.profiler.html">telemetry.internal.platform.profiler
</a><br>
26 <a href=
"telemetry.timeline.trace_data.html">telemetry.timeline.trace_data
</a><br>
27 </td><td width=
"25%" valign=top
><a href=
"telemetry.timeline.tracing_options.html">telemetry.timeline.tracing_options
</a><br>
28 <a href=
"zipfile.html">zipfile
</a><br>
29 </td><td width=
"25%" valign=top
></td></tr></table></td></tr></table><p>
30 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
31 <tr bgcolor=
"#ee77aa">
32 <td colspan=
3 valign=bottom
> <br>
33 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Classes
</strong></big></font></td></tr>
35 <tr><td bgcolor=
"#ee77aa"><tt> </tt></td><td> </td>
37 <dt><font face=
"helvetica, arial"><a href=
"telemetry.internal.platform.profiler.html#Profiler">telemetry.internal.platform.profiler.Profiler
</a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
40 <dt><font face=
"helvetica, arial"><a href=
"telemetry.internal.platform.profiler.trace_profiler.html#TraceProfiler">TraceProfiler
</a>
43 <dt><font face=
"helvetica, arial"><a href=
"telemetry.internal.platform.profiler.trace_profiler.html#TraceAllProfiler">TraceAllProfiler
</a>
44 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.internal.platform.profiler.trace_profiler.html#TraceDetailedProfiler">TraceDetailedProfiler
</a>
51 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
52 <tr bgcolor=
"#ffc8d8">
53 <td colspan=
3 valign=bottom
> <br>
54 <font color=
"#000000" face=
"helvetica, arial"><a name=
"TraceAllProfiler">class
<strong>TraceAllProfiler
</strong></a>(
<a href=
"telemetry.internal.platform.profiler.trace_profiler.html#TraceProfiler">TraceProfiler
</a>)
</font></td></tr>
56 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
57 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
58 <dd><a href=
"telemetry.internal.platform.profiler.trace_profiler.html#TraceAllProfiler">TraceAllProfiler
</a></dd>
59 <dd><a href=
"telemetry.internal.platform.profiler.trace_profiler.html#TraceProfiler">TraceProfiler
</a></dd>
60 <dd><a href=
"telemetry.internal.platform.profiler.html#Profiler">telemetry.internal.platform.profiler.Profiler
</a></dd>
61 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
64 Methods defined here:
<br>
65 <dl><dt><a name=
"TraceAllProfiler-__init__"><strong>__init__
</strong></a>(self, browser_backend, platform_backend, output_path, state)
</dt></dl>
68 Class methods defined here:
<br>
69 <dl><dt><a name=
"TraceAllProfiler-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></dl>
72 Methods inherited from
<a href=
"telemetry.internal.platform.profiler.trace_profiler.html#TraceProfiler">TraceProfiler
</a>:
<br>
73 <dl><dt><a name=
"TraceAllProfiler-CollectProfile"><strong>CollectProfile
</strong></a>(self)
</dt></dl>
76 Class methods inherited from
<a href=
"telemetry.internal.platform.profiler.trace_profiler.html#TraceProfiler">TraceProfiler
</a>:
<br>
77 <dl><dt><a name=
"TraceAllProfiler-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></dl>
80 Class methods inherited from
<a href=
"telemetry.internal.platform.profiler.html#Profiler">telemetry.internal.platform.profiler.Profiler
</a>:
<br>
81 <dl><dt><a name=
"TraceAllProfiler-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>
83 <dl><dt><a name=
"TraceAllProfiler-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>
86 Data descriptors inherited from
<a href=
"telemetry.internal.platform.profiler.html#Profiler">telemetry.internal.platform.profiler.Profiler
</a>:
<br>
87 <dl><dt><strong>__dict__
</strong></dt>
88 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
90 <dl><dt><strong>__weakref__
</strong></dt>
91 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
93 </td></tr></table> <p>
94 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
95 <tr bgcolor=
"#ffc8d8">
96 <td colspan=
3 valign=bottom
> <br>
97 <font color=
"#000000" face=
"helvetica, arial"><a name=
"TraceDetailedProfiler">class
<strong>TraceDetailedProfiler
</strong></a>(
<a href=
"telemetry.internal.platform.profiler.trace_profiler.html#TraceProfiler">TraceProfiler
</a>)
</font></td></tr>
99 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
100 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
101 <dd><a href=
"telemetry.internal.platform.profiler.trace_profiler.html#TraceDetailedProfiler">TraceDetailedProfiler
</a></dd>
102 <dd><a href=
"telemetry.internal.platform.profiler.trace_profiler.html#TraceProfiler">TraceProfiler
</a></dd>
103 <dd><a href=
"telemetry.internal.platform.profiler.html#Profiler">telemetry.internal.platform.profiler.Profiler
</a></dd>
104 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
107 Methods defined here:
<br>
108 <dl><dt><a name=
"TraceDetailedProfiler-__init__"><strong>__init__
</strong></a>(self, browser_backend, platform_backend, output_path, state)
</dt></dl>
111 Class methods defined here:
<br>
112 <dl><dt><a name=
"TraceDetailedProfiler-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></dl>
115 Methods inherited from
<a href=
"telemetry.internal.platform.profiler.trace_profiler.html#TraceProfiler">TraceProfiler
</a>:
<br>
116 <dl><dt><a name=
"TraceDetailedProfiler-CollectProfile"><strong>CollectProfile
</strong></a>(self)
</dt></dl>
119 Class methods inherited from
<a href=
"telemetry.internal.platform.profiler.trace_profiler.html#TraceProfiler">TraceProfiler
</a>:
<br>
120 <dl><dt><a name=
"TraceDetailedProfiler-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></dl>
123 Class methods inherited from
<a href=
"telemetry.internal.platform.profiler.html#Profiler">telemetry.internal.platform.profiler.Profiler
</a>:
<br>
124 <dl><dt><a name=
"TraceDetailedProfiler-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>
126 <dl><dt><a name=
"TraceDetailedProfiler-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>
129 Data descriptors inherited from
<a href=
"telemetry.internal.platform.profiler.html#Profiler">telemetry.internal.platform.profiler.Profiler
</a>:
<br>
130 <dl><dt><strong>__dict__
</strong></dt>
131 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
133 <dl><dt><strong>__weakref__
</strong></dt>
134 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
136 </td></tr></table> <p>
137 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
138 <tr bgcolor=
"#ffc8d8">
139 <td colspan=
3 valign=bottom
> <br>
140 <font color=
"#000000" face=
"helvetica, arial"><a name=
"TraceProfiler">class
<strong>TraceProfiler
</strong></a>(
<a href=
"telemetry.internal.platform.profiler.html#Profiler">telemetry.internal.platform.profiler.Profiler
</a>)
</font></td></tr>
142 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
143 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
144 <dd><a href=
"telemetry.internal.platform.profiler.trace_profiler.html#TraceProfiler">TraceProfiler
</a></dd>
145 <dd><a href=
"telemetry.internal.platform.profiler.html#Profiler">telemetry.internal.platform.profiler.Profiler
</a></dd>
146 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
149 Methods defined here:
<br>
150 <dl><dt><a name=
"TraceProfiler-CollectProfile"><strong>CollectProfile
</strong></a>(self)
</dt></dl>
152 <dl><dt><a name=
"TraceProfiler-__init__"><strong>__init__
</strong></a>(self, browser_backend, platform_backend, output_path, state, categories
<font color=
"#909090">=None
</font>)
</dt></dl>
155 Class methods defined here:
<br>
156 <dl><dt><a name=
"TraceProfiler-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></dl>
158 <dl><dt><a name=
"TraceProfiler-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></dl>
161 Class methods inherited from
<a href=
"telemetry.internal.platform.profiler.html#Profiler">telemetry.internal.platform.profiler.Profiler
</a>:
<br>
162 <dl><dt><a name=
"TraceProfiler-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>
164 <dl><dt><a name=
"TraceProfiler-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>
167 Data descriptors inherited from
<a href=
"telemetry.internal.platform.profiler.html#Profiler">telemetry.internal.platform.profiler.Profiler
</a>:
<br>
168 <dl><dt><strong>__dict__
</strong></dt>
169 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
171 <dl><dt><strong>__weakref__
</strong></dt>
172 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
174 </td></tr></table></td></tr></table>