OLD | NEW |
1 | 1 |
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
3 <html><head><title>Python: module telemetry.core.timeline.inspector_importer</ti
tle> | 3 <html><head><title>Python: module telemetry.core.timeline.tracing.trace_event_im
porter</title> |
4 </head><body bgcolor="#f0f0f8"> | 4 </head><body bgcolor="#f0f0f8"> |
5 | 5 |
6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> | 6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> |
7 <tr bgcolor="#7799ee"> | 7 <tr bgcolor="#7799ee"> |
8 <td valign=bottom> <br> | 8 <td valign=bottom> <br> |
9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.core.html"><font color="#ffffff">core</font></a>.<a href="telemetry.core.timeli
ne.html"><font color="#ffffff">timeline</font></a>.inspector_importer</strong></
big></big></font></td | 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.core.html"><font color="#ffffff">core</font></a>.<a href="telemetry.core.timeli
ne.html"><font color="#ffffff">timeline</font></a>.<a href="telemetry.core.timel
ine.tracing.html"><font color="#ffffff">tracing</font></a>.trace_event_importer<
/strong></big></big></font></td |
10 ><td align=right valign=bottom | 10 ><td align=right valign=bottom |
11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/core/timeline/inspector_importer.py">telemetry/core/timeline/inspe
ctor_importer.py</a></font></td></tr></table> | 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/core/timeline/tracing/trace_event_importer.py">telemetry/core/time
line/tracing/trace_event_importer.py</a></font></td></tr></table> |
12 <p><tt>Imports event data obtained from the in
spector's timeline.</tt></p> | 12 <p><tt>TraceEventImporter imports TraceEvent-formatted data<b
r> |
| 13 into the provided model.<br> |
| 14 This is a port of the trace event import
er from<br> |
| 15 https://code.google.com/p/trace-viewer/</tt></p> |
13 <p> | 16 <p> |
14 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 17 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
15 <tr bgcolor="#aa55cc"> | 18 <tr bgcolor="#aa55cc"> |
16 <td colspan=3 valign=bottom> <br> | 19 <td colspan=3 valign=bottom> <br> |
17 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> | 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> |
18 | 21 |
19 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> | 22 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> |
20 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="telemetry.core.timeline.importer.html">telemetry.core.timeline.impor
ter</a><br> | 23 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="copy.html">copy</a><br> |
21 </td><td width="25%" valign=top><a href="telemetry.core.timeline.event.html">tel
emetry.core.timeline.event</a><br> | 24 <a href="telemetry.core.timeline.importer.html">telemetry.core.timeline.importer
</a><br> |
22 </td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></tabl
e></td></tr></table><p> | 25 </td><td width="25%" valign=top><a href="json.html">json</a><br> |
| 26 <a href="re.html">re</a><br> |
| 27 </td><td width="25%" valign=top><a href="telemetry.core.timeline.tracing.async_s
lice.html">telemetry.core.timeline.tracing.async_slice</a><br> |
| 28 <a href="telemetry.core.timeline.tracing.process.html">telemetry.core.timeline.t
racing.process</a><br> |
| 29 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> |
23 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 30 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
24 <tr bgcolor="#ee77aa"> | 31 <tr bgcolor="#ee77aa"> |
25 <td colspan=3 valign=bottom> <br> | 32 <td colspan=3 valign=bottom> <br> |
26 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | 33 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> |
27 | 34 |
28 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | 35 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> |
29 <td width="100%"><dl> | 36 <td width="100%"><dl> |
30 <dt><font face="helvetica, arial"><a href="telemetry.core.timeline.importer.html
#TimelineImporter">telemetry.core.timeline.importer.TimelineImporter</a>(<a href
="__builtin__.html#object">__builtin__.object</a>) | 37 <dt><font face="helvetica, arial"><a href="telemetry.core.timeline.importer.html
#TimelineImporter">telemetry.core.timeline.importer.TimelineImporter</a>(<a href
="__builtin__.html#object">__builtin__.object</a>) |
31 </font></dt><dd> | 38 </font></dt><dd> |
32 <dl> | 39 <dl> |
33 <dt><font face="helvetica, arial"><a href="telemetry.core.timeline.inspector_imp
orter.html#InspectorTimelineImporter">InspectorTimelineImporter</a> | 40 <dt><font face="helvetica, arial"><a href="telemetry.core.timeline.tracing.trace
_event_importer.html#TraceEventTimelineImporter">TraceEventTimelineImporter</a> |
34 </font></dt></dl> | 41 </font></dt></dl> |
35 </dd> | 42 </dd> |
36 </dl> | 43 </dl> |
37 <p> | 44 <p> |
38 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 45 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
39 <tr bgcolor="#ffc8d8"> | 46 <tr bgcolor="#ffc8d8"> |
40 <td colspan=3 valign=bottom> <br> | 47 <td colspan=3 valign=bottom> <br> |
41 <font color="#000000" face="helvetica, arial"><a name="InspectorTimelineImporter
">class <strong>InspectorTimelineImporter</strong></a>(<a href="telemetry.core.t
imeline.importer.html#TimelineImporter">telemetry.core.timeline.importer.Timelin
eImporter</a>)</font></td></tr> | 48 <font color="#000000" face="helvetica, arial"><a name="TraceEventTimelineImporte
r">class <strong>TraceEventTimelineImporter</strong></a>(<a href="telemetry.core
.timeline.importer.html#TimelineImporter">telemetry.core.timeline.importer.Timel
ineImporter</a>)</font></td></tr> |
42 | 49 |
43 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | 50 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
44 <td width="100%"><dl><dt>Method resolution order:</dt> | 51 <td width="100%"><dl><dt>Method resolution order:</dt> |
45 <dd><a href="telemetry.core.timeline.inspector_importer.html#InspectorTimelineIm
porter">InspectorTimelineImporter</a></dd> | 52 <dd><a href="telemetry.core.timeline.tracing.trace_event_importer.html#TraceEven
tTimelineImporter">TraceEventTimelineImporter</a></dd> |
46 <dd><a href="telemetry.core.timeline.importer.html#TimelineImporter">telemetry.c
ore.timeline.importer.TimelineImporter</a></dd> | 53 <dd><a href="telemetry.core.timeline.importer.html#TimelineImporter">telemetry.c
ore.timeline.importer.TimelineImporter</a></dd> |
47 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> | 54 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
48 </dl> | 55 </dl> |
49 <hr> | 56 <hr> |
50 Methods defined here:<br> | 57 Methods defined here:<br> |
51 <dl><dt><a name="InspectorTimelineImporter-FinalizeImport"><strong>FinalizeImpor
t</strong></a>(self)</dt></dl> | 58 <dl><dt><a name="TraceEventTimelineImporter-FinalizeImport"><strong>FinalizeImpo
rt</strong></a>(self)</dt><dd><tt>Called by the Model after&
nbsp;all other importers have imported their<br> |
| 59 events.</tt></dd></dl> |
52 | 60 |
53 <dl><dt><a name="InspectorTimelineImporter-ImportEvents"><strong>ImportEvents</s
trong></a>(self)</dt></dl> | 61 <dl><dt><a name="TraceEventTimelineImporter-ImportEvents"><strong>ImportEvents</
strong></a>(self)</dt><dd><tt>Walks through the events_ list
and outputs the structures discovered to<br> |
| 62 model_.</tt></dd></dl> |
54 | 63 |
55 <dl><dt><a name="InspectorTimelineImporter-__init__"><strong>__init__</strong></
a>(self, model, event_data)</dt></dl> | 64 <dl><dt><a name="TraceEventTimelineImporter-__init__"><strong>__init__</strong><
/a>(self, model, event_data)</dt></dl> |
56 | 65 |
57 <hr> | 66 <hr> |
58 Static methods defined here:<br> | 67 Static methods defined here:<br> |
59 <dl><dt><a name="InspectorTimelineImporter-CanImport"><strong>CanImport</strong>
</a>(event_data)</dt><dd><tt>Checks if event_data is from&nb
sp;the inspector timeline. We assume<br> | 68 <dl><dt><a name="TraceEventTimelineImporter-CanImport"><strong>CanImport</strong
></a>(event_data)</dt><dd><tt>Returns whether obj is a
TraceEvent array.</tt></dd></dl> |
60 that if the first event is a valid inspe
ctor event, we can import the<br> | |
61 entire list.</tt></dd></dl> | |
62 | |
63 <dl><dt><a name="InspectorTimelineImporter-RawEventToTimelineEvent"><strong>RawE
ventToTimelineEvent</strong></a>(raw_inspector_event)</dt><dd><tt>Converts
raw_inspector_event to TimelineEvent.</tt></dd></dl> | |
64 | 69 |
65 <hr> | 70 <hr> |
66 Data descriptors inherited from <a href="telemetry.core.timeline.importer.html#T
imelineImporter">telemetry.core.timeline.importer.TimelineImporter</a>:<br> | 71 Data descriptors inherited from <a href="telemetry.core.timeline.importer.html#T
imelineImporter">telemetry.core.timeline.importer.TimelineImporter</a>:<br> |
67 <dl><dt><strong>__dict__</strong></dt> | 72 <dl><dt><strong>__dict__</strong></dt> |
68 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | 73 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> |
69 </dl> | 74 </dl> |
70 <dl><dt><strong>__weakref__</strong></dt> | 75 <dl><dt><strong>__weakref__</strong></dt> |
71 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | 76 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
72 </dl> | 77 </dl> |
73 </td></tr></table></td></tr></table> | 78 </td></tr></table></td></tr></table> |
74 </body></html> | 79 </body></html> |
OLD | NEW |