Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: tools/telemetry/docs/telemetry.core.timeline.tracing.trace_event_importer.html

Issue 17087011: [telemetry] Fix run_measurement with legacy options (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update docs. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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>&nbsp;<br> 8 <td valign=bottom>&nbsp;<br>
9 <font color="#ffffff" face="helvetica, arial">&nbsp;<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">&nbsp;<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&nbsp;event&nbsp;data&nbsp;obtained&nbsp;from&nbsp;the&nbsp;in spector's&nbsp;timeline.</tt></p> 12 <p><tt>TraceEventImporter&nbsp;imports&nbsp;TraceEvent-formatted&nbsp;data<b r>
13 into&nbsp;the&nbsp;provided&nbsp;model.<br>
14 This&nbsp;is&nbsp;a&nbsp;port&nbsp;of&nbsp;the&nbsp;trace&nbsp;event&nbsp;import er&nbsp;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>&nbsp;<br> 19 <td colspan=3 valign=bottom>&nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td> 22 <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</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>&nbsp;<br> 32 <td colspan=3 valign=bottom>&nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td> 35 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</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>&nbsp;<br> 47 <td colspan=3 valign=bottom>&nbsp;<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>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> 50 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</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&nbsp;by&nbsp;the&nbsp;Model&nbsp;after& nbsp;all&nbsp;other&nbsp;importers&nbsp;have&nbsp;imported&nbsp;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&nbsp;through&nbsp;the&nbsp;events_&nbsp;list &nbsp;and&nbsp;outputs&nbsp;the&nbsp;structures&nbsp;discovered&nbsp;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&nbsp;if&nbsp;event_data&nbsp;is&nbsp;from&nb sp;the&nbsp;inspector&nbsp;timeline.&nbsp;We&nbsp;assume<br> 68 <dl><dt><a name="TraceEventTimelineImporter-CanImport"><strong>CanImport</strong ></a>(event_data)</dt><dd><tt>Returns&nbsp;whether&nbsp;obj&nbsp;is&nbsp;a&nbsp; TraceEvent&nbsp;array.</tt></dd></dl>
60 that&nbsp;if&nbsp;the&nbsp;first&nbsp;event&nbsp;is&nbsp;a&nbsp;valid&nbsp;inspe ctor&nbsp;event,&nbsp;we&nbsp;can&nbsp;import&nbsp;the<br>
61 entire&nbsp;list.</tt></dd></dl>
62
63 <dl><dt><a name="InspectorTimelineImporter-RawEventToTimelineEvent"><strong>RawE ventToTimelineEvent</strong></a>(raw_inspector_event)</dt><dd><tt>Converts&nbsp; raw_inspector_event&nbsp;to&nbsp;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&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)< /tt></dd> 73 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;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&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;defined)</tt></dd> 76 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;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>
OLDNEW
« no previous file with comments | « tools/telemetry/docs/telemetry.core.timeline.tracing.thread.html ('k') | tools/telemetry/docs/telemetry.test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698