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">
6 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"heading">
8 <td valign=bottom
> <br>
9 <font color=
"#ffffff" face=
"helvetica, arial"> <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>#
Copyright
(c)
2012 The
Chromium
Authors.
All
rights
reserved.
<br>
13 #
Use
of
this
source
code
is
governed
by
a
BSD-style
license
that
can
be
<br>
14 #
found
in
the
LICENSE
file.
</tt></p>
16 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
17 <tr bgcolor=
"#aa55cc">
18 <td colspan=
3 valign=bottom
> <br>
19 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Modules
</strong></big></font></td></tr>
21 <tr><td bgcolor=
"#aa55cc"><tt> </tt></td><td> </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
> <br>
35 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Classes
</strong></big></font></td></tr>
37 <tr><td bgcolor=
"#ee77aa"><tt> </tt></td><td> </td>
39 <dt><font face=
"helvetica, arial"><a href=
"__builtin__.html#object">__builtin__.object
</a>
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>
46 <dt><font face=
"helvetica, arial"><a href=
"exceptions.html#Exception">exceptions.Exception
</a>(
<a href=
"exceptions.html#BaseException">exceptions.BaseException
</a>)
49 <dt><font face=
"helvetica, arial"><a href=
"telemetry.core.chrome.tracing_backend.html#TracingUnsupportedException">TracingUnsupportedException
</a>
54 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
55 <tr bgcolor=
"#ffc8d8">
56 <td colspan=
3 valign=bottom
> <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>
59 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
60 <td width=
"100%">Methods defined here:
<br>
61 <dl><dt><a name=
"TraceResultImpl-AsTimelineModel"><strong>AsTimelineModel
</strong></a>(self)
</dt></dl>
63 <dl><dt><a name=
"TraceResultImpl-Serialize"><strong>Serialize
</strong></a>(self, f)
</dt></dl>
65 <dl><dt><a name=
"TraceResultImpl-__init__"><strong>__init__
</strong></a>(self, tracing_data)
</dt></dl>
68 Data descriptors defined here:
<br>
69 <dl><dt><strong>__dict__
</strong></dt>
70 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
72 <dl><dt><strong>__weakref__
</strong></dt>
73 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
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
> <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>
81 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </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>
85 <dl><dt><a name=
"TracingBackend-Close"><strong>Close
</strong></a>(self)
</dt></dl>
87 <dl><dt><a name=
"TracingBackend-EndTracing"><strong>EndTracing
</strong></a>(self)
</dt></dl>
89 <dl><dt><a name=
"TracingBackend-GetTraceResultAndReset"><strong>GetTraceResultAndReset
</strong></a>(self)
</dt></dl>
91 <dl><dt><a name=
"TracingBackend-__init__"><strong>__init__
</strong></a>(self, devtools_port)
</dt></dl>
94 Data descriptors defined here:
<br>
95 <dl><dt><strong>__dict__
</strong></dt>
96 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
98 <dl><dt><strong>__weakref__
</strong></dt>
99 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
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
> <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>
107 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </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>
115 Data descriptors defined here:
<br>
116 <dl><dt><strong>__weakref__
</strong></dt>
117 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
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>(...)
initializes
x;
see
help(type(x))
for
signature
</tt></dd></dl>
124 Data and other attributes inherited from
<a href=
"exceptions.html#Exception">exceptions.Exception
</a>:
<br>
125 <dl><dt><strong>__new__
</strong> =
<built-in method __new__ of type object
><dd><tt>T.
<a href=
"#TracingUnsupportedException-__new__">__new__
</a>(S,
...)
-
> a
new
<a href=
"__builtin__.html#object">object
</a> with
type
S,
a
subtype
of
T
</tt></dl>
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')
<==
> del
x.name
</tt></dd></dl>
131 <dl><dt><a name=
"TracingUnsupportedException-__getattribute__"><strong>__getattribute__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#TracingUnsupportedException-__getattribute__">__getattribute__
</a>('name')
<==
> x.name
</tt></dd></dl>
133 <dl><dt><a name=
"TracingUnsupportedException-__getitem__"><strong>__getitem__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#TracingUnsupportedException-__getitem__">__getitem__
</a>(y)
<==
> x[y]
</tt></dd></dl>
135 <dl><dt><a name=
"TracingUnsupportedException-__getslice__"><strong>__getslice__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#TracingUnsupportedException-__getslice__">__getslice__
</a>(i,
j)
<==
> x[i:j]
<br>
137 Use
of
negative
indices
is
not
supported.
</tt></dd></dl>
139 <dl><dt><a name=
"TracingUnsupportedException-__reduce__"><strong>__reduce__
</strong></a>(...)
</dt></dl>
141 <dl><dt><a name=
"TracingUnsupportedException-__repr__"><strong>__repr__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#TracingUnsupportedException-__repr__">__repr__
</a>()
<==
> repr(x)
</tt></dd></dl>
143 <dl><dt><a name=
"TracingUnsupportedException-__setattr__"><strong>__setattr__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#TracingUnsupportedException-__setattr__">__setattr__
</a>('name',
value)
<==
> x.name
=
value
</tt></dd></dl>
145 <dl><dt><a name=
"TracingUnsupportedException-__setstate__"><strong>__setstate__
</strong></a>(...)
</dt></dl>
147 <dl><dt><a name=
"TracingUnsupportedException-__str__"><strong>__str__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#TracingUnsupportedException-__str__">__str__
</a>()
<==
> str(x)
</tt></dd></dl>
149 <dl><dt><a name=
"TracingUnsupportedException-__unicode__"><strong>__unicode__
</strong></a>(...)
</dt></dl>
152 Data descriptors inherited from
<a href=
"exceptions.html#BaseException">exceptions.BaseException
</a>:
<br>
153 <dl><dt><strong>__dict__
</strong></dt>
155 <dl><dt><strong>args
</strong></dt>
157 <dl><dt><strong>message
</strong></dt>
159 </td></tr></table></td></tr></table>