Index: tools/telemetry/docs/telemetry.core.timeline.tracing.trace_event_importer.html |
diff --git a/tools/telemetry/docs/telemetry.core.timeline.inspector_importer.html b/tools/telemetry/docs/telemetry.core.timeline.tracing.trace_event_importer.html |
similarity index 52% |
copy from tools/telemetry/docs/telemetry.core.timeline.inspector_importer.html |
copy to tools/telemetry/docs/telemetry.core.timeline.tracing.trace_event_importer.html |
index f8d78fe938b6260abb01d55031dcdd353bbceab7..e5194986077e018f0448ba0c31b584f63d8c44d0 100644 |
--- a/tools/telemetry/docs/telemetry.core.timeline.inspector_importer.html |
+++ b/tools/telemetry/docs/telemetry.core.timeline.tracing.trace_event_importer.html |
@@ -1,15 +1,18 @@ |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
-<html><head><title>Python: module telemetry.core.timeline.inspector_importer</title> |
+<html><head><title>Python: module telemetry.core.timeline.tracing.trace_event_importer</title> |
</head><body bgcolor="#f0f0f8"> |
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> |
<tr bgcolor="#7799ee"> |
<td valign=bottom> <br> |
-<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 |
+<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>.<a href="telemetry.core.timeline.tracing.html"><font color="#ffffff">tracing</font></a>.trace_event_importer</strong></big></big></font></td |
><td align=right valign=bottom |
-><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> |
- <p><tt>Imports event data obtained from the inspector's timeline.</tt></p> |
+><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/core/timeline/tracing/trace_event_importer.py">telemetry/core/timeline/tracing/trace_event_importer.py</a></font></td></tr></table> |
+ <p><tt>TraceEventImporter imports TraceEvent-formatted data<br> |
+into the provided model.<br> |
+This is a port of the trace event importer from<br> |
+https://code.google.com/p/trace-viewer/</tt></p> |
<p> |
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
<tr bgcolor="#aa55cc"> |
@@ -17,9 +20,13 @@ |
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> |
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> |
-<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> |
-</td><td width="25%" valign=top><a href="telemetry.core.timeline.event.html">telemetry.core.timeline.event</a><br> |
-</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> |
+<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="copy.html">copy</a><br> |
+<a href="telemetry.core.timeline.importer.html">telemetry.core.timeline.importer</a><br> |
+</td><td width="25%" valign=top><a href="json.html">json</a><br> |
+<a href="re.html">re</a><br> |
+</td><td width="25%" valign=top><a href="telemetry.core.timeline.tracing.async_slice.html">telemetry.core.timeline.tracing.async_slice</a><br> |
+<a href="telemetry.core.timeline.tracing.process.html">telemetry.core.timeline.tracing.process</a><br> |
+</td><td width="25%" valign=top></td></tr></table></td></tr></table><p> |
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
<tr bgcolor="#ee77aa"> |
<td colspan=3 valign=bottom> <br> |
@@ -30,7 +37,7 @@ |
<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>) |
</font></dt><dd> |
<dl> |
-<dt><font face="helvetica, arial"><a href="telemetry.core.timeline.inspector_importer.html#InspectorTimelineImporter">InspectorTimelineImporter</a> |
+<dt><font face="helvetica, arial"><a href="telemetry.core.timeline.tracing.trace_event_importer.html#TraceEventTimelineImporter">TraceEventTimelineImporter</a> |
</font></dt></dl> |
</dd> |
</dl> |
@@ -38,29 +45,27 @@ |
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
<tr bgcolor="#ffc8d8"> |
<td colspan=3 valign=bottom> <br> |
-<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> |
+<font color="#000000" face="helvetica, arial"><a name="TraceEventTimelineImporter">class <strong>TraceEventTimelineImporter</strong></a>(<a href="telemetry.core.timeline.importer.html#TimelineImporter">telemetry.core.timeline.importer.TimelineImporter</a>)</font></td></tr> |
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
<td width="100%"><dl><dt>Method resolution order:</dt> |
-<dd><a href="telemetry.core.timeline.inspector_importer.html#InspectorTimelineImporter">InspectorTimelineImporter</a></dd> |
+<dd><a href="telemetry.core.timeline.tracing.trace_event_importer.html#TraceEventTimelineImporter">TraceEventTimelineImporter</a></dd> |
<dd><a href="telemetry.core.timeline.importer.html#TimelineImporter">telemetry.core.timeline.importer.TimelineImporter</a></dd> |
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
</dl> |
<hr> |
Methods defined here:<br> |
-<dl><dt><a name="InspectorTimelineImporter-FinalizeImport"><strong>FinalizeImport</strong></a>(self)</dt></dl> |
+<dl><dt><a name="TraceEventTimelineImporter-FinalizeImport"><strong>FinalizeImport</strong></a>(self)</dt><dd><tt>Called by the Model after all other importers have imported their<br> |
+events.</tt></dd></dl> |
-<dl><dt><a name="InspectorTimelineImporter-ImportEvents"><strong>ImportEvents</strong></a>(self)</dt></dl> |
+<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> |
+model_.</tt></dd></dl> |
-<dl><dt><a name="InspectorTimelineImporter-__init__"><strong>__init__</strong></a>(self, model, event_data)</dt></dl> |
+<dl><dt><a name="TraceEventTimelineImporter-__init__"><strong>__init__</strong></a>(self, model, event_data)</dt></dl> |
<hr> |
Static methods defined here:<br> |
-<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> |
-that if the first event is a valid inspector event, we can import the<br> |
-entire list.</tt></dd></dl> |
- |
-<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> |
+<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> |
<hr> |
Data descriptors inherited from <a href="telemetry.core.timeline.importer.html#TimelineImporter">telemetry.core.timeline.importer.TimelineImporter</a>:<br> |