| 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.model</title> | 3 <html><head><title>Python: module telemetry.core.timeline.model</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>.model</strong></big></big></f
ont></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>.model</strong></big></big></f
ont></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/model.py">telemetry/core/timeline/model.py</a></font
></td></tr></table> | 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/core/timeline/model.py">telemetry/core/timeline/model.py</a></font
></td></tr></table> |
| 12 <p><tt>A container for timeline-based events and&nb
sp;traces and can handle importing<br> | 12 <p><tt>A container for timeline-based events and&nb
sp;traces and can handle importing<br> |
| 13 raw event data from different sources. This m
odel closely resembles that in the<br> | 13 raw event data from different sources. This m
odel closely resembles that in the<br> |
| 14 trace_viewer project:<br> | 14 trace_viewer project:<br> |
| 15 https://code.google.com/p/trace-viewer/</tt></p> | 15 https://code.google.com/p/trace-viewer/</tt></p> |
| 16 <p> | 16 <p> |
| 17 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 17 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 18 <tr bgcolor="#aa55cc"> | 18 <tr bgcolor="#aa55cc"> |
| 19 <td colspan=3 valign=bottom> <br> | 19 <td colspan=3 valign=bottom> <br> |
| 20 <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> |
| 21 | 21 |
| 22 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> | 22 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> |
| 23 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="telemetry.core.timeline.inspector_importer.html">telemetry.core.time
line.inspector_importer</a><br> | 23 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="telemetry.core.timeline.bounds.html">telemetry.core.timeline.bounds<
/a><br> |
| 24 </td><td width="25%" valign=top><a href="telemetry.core.timeline.tracing.trace_e
vent_importer.html">telemetry.core.timeline.tracing.trace_event_importer</a><br> | 24 </td><td width="25%" valign=top><a href="telemetry.core.timeline.inspector_impor
ter.html">telemetry.core.timeline.inspector_importer</a><br> |
| 25 </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="telemetry.core.timeline.trace_event_imp
orter.html">telemetry.core.timeline.trace_event_importer</a><br> |
| 26 </td><td width="25%" valign=top><a href="telemetry.core.timeline.process.html">t
elemetry.core.timeline.process</a><br> |
| 27 </td></tr></table></td></tr></table><p> |
| 26 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 28 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 27 <tr bgcolor="#ee77aa"> | 29 <tr bgcolor="#ee77aa"> |
| 28 <td colspan=3 valign=bottom> <br> | 30 <td colspan=3 valign=bottom> <br> |
| 29 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | 31 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> |
| 30 | 32 |
| 31 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | 33 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> |
| 32 <td width="100%"><dl> | 34 <td width="100%"><dl> |
| 33 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> | 35 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> |
| 34 </font></dt><dd> | 36 </font></dt><dd> |
| 35 <dl> | 37 <dl> |
| 36 <dt><font face="helvetica, arial"><a href="telemetry.core.timeline.model.html#Ti
melineModel">TimelineModel</a> | 38 <dt><font face="helvetica, arial"><a href="telemetry.core.timeline.model.html#Ti
melineModel">TimelineModel</a> |
| 37 </font></dt></dl> | 39 </font></dt></dl> |
| 38 </dd> | 40 </dd> |
| 39 </dl> | 41 </dl> |
| 40 <p> | 42 <p> |
| 41 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 43 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 42 <tr bgcolor="#ffc8d8"> | 44 <tr bgcolor="#ffc8d8"> |
| 43 <td colspan=3 valign=bottom> <br> | 45 <td colspan=3 valign=bottom> <br> |
| 44 <font color="#000000" face="helvetica, arial"><a name="TimelineModel">class <str
ong>TimelineModel</strong></a>(<a href="__builtin__.html#object">__builtin__.obj
ect</a>)</font></td></tr> | 46 <font color="#000000" face="helvetica, arial"><a name="TimelineModel">class <str
ong>TimelineModel</strong></a>(<a href="__builtin__.html#object">__builtin__.obj
ect</a>)</font></td></tr> |
| 45 | 47 |
| 46 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | 48 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
| 47 <td width="100%">Methods defined here:<br> | 49 <td width="100%">Methods defined here:<br> |
| 48 <dl><dt><a name="TimelineModel-AddEvent"><strong>AddEvent</strong></a>(self, eve
nt)</dt></dl> | 50 <dl><dt><a name="TimelineModel-GetAllContainers"><strong>GetAllContainers</stron
g></a>(self)</dt></dl> |
| 49 | |
| 50 <dl><dt><a name="TimelineModel-DidFinishRecording"><strong>DidFinishRecording</s
trong></a>(self)</dt></dl> | |
| 51 | 51 |
| 52 <dl><dt><a name="TimelineModel-GetAllEvents"><strong>GetAllEvents</strong></a>(s
elf)</dt></dl> | 52 <dl><dt><a name="TimelineModel-GetAllEvents"><strong>GetAllEvents</strong></a>(s
elf)</dt></dl> |
| 53 | 53 |
| 54 <dl><dt><a name="TimelineModel-GetAllEventsOfName"><strong>GetAllEventsOfName</s
trong></a>(self, name)</dt></dl> | 54 <dl><dt><a name="TimelineModel-GetAllEventsOfName"><strong>GetAllEventsOfName</s
trong></a>(self, name)</dt></dl> |
| 55 | 55 |
| 56 <dl><dt><a name="TimelineModel-GetRootEvents"><strong>GetRootEvents</strong></a>
(self)</dt></dl> | 56 <dl><dt><a name="TimelineModel-GetAllProcesses"><strong>GetAllProcesses</strong>
</a>(self)</dt></dl> |
| 57 |
| 58 <dl><dt><a name="TimelineModel-GetAllThreads"><strong>GetAllThreads</strong></a>
(self)</dt></dl> |
| 59 |
| 60 <dl><dt><a name="TimelineModel-GetOrCreateProcess"><strong>GetOrCreateProcess</s
trong></a>(self, pid)</dt></dl> |
| 57 | 61 |
| 58 <dl><dt><a name="TimelineModel-ImportTraces"><strong>ImportTraces</strong></a>(s
elf, traces, shift_world_to_zero<font color="#909090">=True</font>)</dt></dl> | 62 <dl><dt><a name="TimelineModel-ImportTraces"><strong>ImportTraces</strong></a>(s
elf, traces, shift_world_to_zero<font color="#909090">=True</font>)</dt></dl> |
| 59 | 63 |
| 64 <dl><dt><a name="TimelineModel-IterAllEvents"><strong>IterAllEvents</strong></a>
(self)</dt></dl> |
| 65 |
| 60 <dl><dt><a name="TimelineModel-ShiftWorldToZero"><strong>ShiftWorldToZero</stron
g></a>(self)</dt></dl> | 66 <dl><dt><a name="TimelineModel-ShiftWorldToZero"><strong>ShiftWorldToZero</stron
g></a>(self)</dt></dl> |
| 61 | 67 |
| 62 <dl><dt><a name="TimelineModel-UpdateBounds"><strong>UpdateBounds</strong></a>(s
elf)</dt></dl> | 68 <dl><dt><a name="TimelineModel-UpdateBounds"><strong>UpdateBounds</strong></a>(s
elf)</dt></dl> |
| 63 | 69 |
| 64 <dl><dt><a name="TimelineModel-__init__"><strong>__init__</strong></a>(self, eve
nt_data<font color="#909090">=None</font>, shift_world_to_zero<font color="#9090
90">=True</font>)</dt></dl> | 70 <dl><dt><a name="TimelineModel-__init__"><strong>__init__</strong></a>(self, eve
nt_data<font color="#909090">=None</font>, shift_world_to_zero<font color="#9090
90">=True</font>)</dt></dl> |
| 65 | 71 |
| 66 <hr> | 72 <hr> |
| 67 Data descriptors defined here:<br> | 73 Data descriptors defined here:<br> |
| 68 <dl><dt><strong>__dict__</strong></dt> | 74 <dl><dt><strong>__dict__</strong></dt> |
| 69 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | 75 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> |
| 70 </dl> | 76 </dl> |
| 71 <dl><dt><strong>__weakref__</strong></dt> | 77 <dl><dt><strong>__weakref__</strong></dt> |
| 72 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | 78 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
| 73 </dl> | 79 </dl> |
| 74 <dl><dt><strong>max_timestamp</strong></dt> | 80 <dl><dt><strong>bounds</strong></dt> |
| 75 </dl> | 81 </dl> |
| 76 <dl><dt><strong>min_timestamp</strong></dt> | 82 <dl><dt><strong>processes</strong></dt> |
| 77 </dl> | 83 </dl> |
| 78 </td></tr></table></td></tr></table> | 84 </td></tr></table></td></tr></table> |
| 79 </body></html> | 85 </body></html> |
| OLD | NEW |