1 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3 <html><head><title>Python: module telemetry.core.timeline.inspector_importer</title> 4 </head><body bgcolor="#f0f0f8"> 5 6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> 7 <tr bgcolor="#7799ee"> 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.timeline.html"><font color="#ffffff">timeline</font></a>.inspector_importer</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/timeline/inspector_importer.py">telemetry/core/timeline/inspector_importer.py</a></font></td></tr></table> 12 <p><tt>Imports event data obtained from the inspector's timeline.</tt></p> 13 <p> 14 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 15 <tr bgcolor="#aa55cc"> 16 <td colspan=3 valign=bottom> <br> 17 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 18 19 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> 20 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="telemetry.core.timeline.importer.html">telemetry.core.timeline.importer</a><br> 21 </td><td width="25%" valign=top><a href="telemetry.core.timeline.thread.html">telemetry.core.timeline.thread</a><br> 22 </td><td width="25%" valign=top></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"> 24 <tr bgcolor="#ee77aa"> 25 <td colspan=3 valign=bottom> <br> 26 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 27 28 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 29 <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>) 31 </font></dt><dd> 32 <dl> 33 <dt><font face="helvetica, arial"><a href="telemetry.core.timeline.inspector_importer.html#InspectorTimelineImporter">InspectorTimelineImporter</a> 34 </font></dt></dl> 35 </dd> 36 </dl> 37 <p> 38 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 39 <tr bgcolor="#ffc8d8"> 40 <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.timeline.importer.html#TimelineImporter">telemetry.core.timeline.importer.TimelineImporter</a>)</font></td></tr> 42 43 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 44 <td width="100%"><dl><dt>Method resolution order:</dt> 45 <dd><a href="telemetry.core.timeline.inspector_importer.html#InspectorTimelineImporter">InspectorTimelineImporter</a></dd> 46 <dd><a href="telemetry.core.timeline.importer.html#TimelineImporter">telemetry.core.timeline.importer.TimelineImporter</a></dd> 47 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 48 </dl> 49 <hr> 50 Methods defined here:<br> 51 <dl><dt><a name="InspectorTimelineImporter-FinalizeImport"><strong>FinalizeImport</strong></a>(self)</dt></dl> 52 53 <dl><dt><a name="InspectorTimelineImporter-ImportEvents"><strong>ImportEvents</strong></a>(self)</dt></dl> 54 55 <dl><dt><a name="InspectorTimelineImporter-__init__"><strong>__init__</strong></a>(self, model, event_data)</dt></dl> 56 57 <hr> 58 Static methods defined here:<br> 59 <dl><dt><a name="InspectorTimelineImporter-AddRawEventToThreadRecursive"><strong>AddRawEventToThreadRecursive</strong></a>(thread, raw_inspector_event)</dt></dl> 60 61 <dl><dt><a name="InspectorTimelineImporter-CanImport"><strong>CanImport</strong></a>(event_data)</dt><dd><tt>Checks if event_data is from the inspector timeline. We assume<br> 62 that if the first event is a valid inspector event, we can import the<br> 63 entire list.</tt></dd></dl> 64 65 <dl><dt><a name="InspectorTimelineImporter-RawEventToTimelineEvent"><strong>RawEventToTimelineEvent</strong></a>(raw_inspector_event)</dt><dd><tt>Converts raw_inspector_event to TimelineEvent.</tt></dd></dl> 66 67 <hr> 68 Data descriptors inherited from <a href="telemetry.core.timeline.importer.html#TimelineImporter">telemetry.core.timeline.importer.TimelineImporter</a>:<br> 69 <dl><dt><strong>__dict__</strong></dt> 70 <dd><tt>dictionary for instance variables (if defined)</tt></dd> 71 </dl> 72 <dl><dt><strong>__weakref__</strong></dt> 73 <dd><tt>list of weak references to the object (if defined)</tt></dd> 74 </dl> 75 </td></tr></table></td></tr></table> 76 </body></html>