| 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.thread</title> | 3 <html><head><title>Python: module telemetry.core.timeline.thread</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>.thread</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>.thread</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/thread.py">telemetry/core/timeline/thread.py</a></fo
nt></td></tr></table> | 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/core/timeline/thread.py">telemetry/core/timeline/thread.py</a></fo
nt></td></tr></table> |
| 12 <p><tt># Copyright 2013 The Chromium Authors.
All rights reserved.<br> | 12 <p><tt># Copyright 2013 The Chromium Authors.
All rights reserved.<br> |
| 13 # Use of this source code is governed by
a BSD-style license that can be<br> | 13 # Use of this source code is governed by
a BSD-style license that can be<br> |
| 14 # found in the LICENSE file.</tt></p> | 14 # found in the LICENSE file.</tt></p> |
| 15 <p> | 15 <p> |
| 16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 17 <tr bgcolor="#aa55cc"> | 17 <tr bgcolor="#aa55cc"> |
| 18 <td colspan=3 valign=bottom> <br> | 18 <td colspan=3 valign=bottom> <br> |
| 19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> | 19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> |
| 20 | 20 |
| 21 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> | 21 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> |
| 22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="telemetry.core.timeline.event_container.html">telemetry.core.timelin
e.event_container</a><br> | 22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="telemetry.core.timeline.event_container.html">telemetry.core.timelin
e.event_container</a><br> |
| 23 </td><td width="25%" valign=top><a href="itertools.html">itertools</a><br> |
| 23 </td><td width="25%" valign=top><a href="telemetry.core.timeline.sample.html">te
lemetry.core.timeline.sample</a><br> | 24 </td><td width="25%" valign=top><a href="telemetry.core.timeline.sample.html">te
lemetry.core.timeline.sample</a><br> |
| 24 </td><td width="25%" valign=top><a href="telemetry.core.timeline.slice.html">tel
emetry.core.timeline.slice</a><br> | 25 </td><td width="25%" valign=top><a href="telemetry.core.timeline.slice.html">tel
emetry.core.timeline.slice</a><br> |
| 25 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> | 26 </td></tr></table></td></tr></table><p> |
| 26 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 27 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 27 <tr bgcolor="#ee77aa"> | 28 <tr bgcolor="#ee77aa"> |
| 28 <td colspan=3 valign=bottom> <br> | 29 <td colspan=3 valign=bottom> <br> |
| 29 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | 30 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> |
| 30 | 31 |
| 31 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | 32 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> |
| 32 <td width="100%"><dl> | 33 <td width="100%"><dl> |
| 33 <dt><font face="helvetica, arial"><a href="telemetry.core.timeline.event_contain
er.html#TimelineEventContainer">telemetry.core.timeline.event_container.Timeline
EventContainer</a>(<a href="__builtin__.html#object">__builtin__.object</a>) | 34 <dt><font face="helvetica, arial"><a href="telemetry.core.timeline.event_contain
er.html#TimelineEventContainer">telemetry.core.timeline.event_container.Timeline
EventContainer</a>(<a href="__builtin__.html#object">__builtin__.object</a>) |
| 34 </font></dt><dd> | 35 </font></dt><dd> |
| 35 <dl> | 36 <dl> |
| (...skipping 15 matching lines...) Expand all Loading... |
| 51 <tr><td> </td> | 52 <tr><td> </td> |
| 52 <td width="100%"><dl><dt>Method resolution order:</dt> | 53 <td width="100%"><dl><dt>Method resolution order:</dt> |
| 53 <dd><a href="telemetry.core.timeline.thread.html#Thread">Thread</a></dd> | 54 <dd><a href="telemetry.core.timeline.thread.html#Thread">Thread</a></dd> |
| 54 <dd><a href="telemetry.core.timeline.event_container.html#TimelineEventContainer
">telemetry.core.timeline.event_container.TimelineEventContainer</a></dd> | 55 <dd><a href="telemetry.core.timeline.event_container.html#TimelineEventContainer
">telemetry.core.timeline.event_container.TimelineEventContainer</a></dd> |
| 55 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> | 56 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 56 </dl> | 57 </dl> |
| 57 <hr> | 58 <hr> |
| 58 Methods defined here:<br> | 59 Methods defined here:<br> |
| 59 <dl><dt><a name="Thread-AddAsyncSlice"><strong>AddAsyncSlice</strong></a>(self,
async_slice)</dt></dl> | 60 <dl><dt><a name="Thread-AddAsyncSlice"><strong>AddAsyncSlice</strong></a>(self,
async_slice)</dt></dl> |
| 60 | 61 |
| 62 <dl><dt><a name="Thread-AddFlowEvent"><strong>AddFlowEvent</strong></a>(self, fl
ow_event)</dt></dl> |
| 63 |
| 61 <dl><dt><a name="Thread-AddSample"><strong>AddSample</strong></a>(self, category
, name, timestamp, args<font color="#909090">=None</font>)</dt></dl> | 64 <dl><dt><a name="Thread-AddSample"><strong>AddSample</strong></a>(self, category
, name, timestamp, args<font color="#909090">=None</font>)</dt></dl> |
| 62 | 65 |
| 63 <dl><dt><a name="Thread-AutoCloseOpenSlices"><strong>AutoCloseOpenSlices</strong
></a>(self, max_timestamp)</dt></dl> | 66 <dl><dt><a name="Thread-AutoCloseOpenSlices"><strong>AutoCloseOpenSlices</strong
></a>(self, max_timestamp, max_thread_timestamp)</dt></dl> |
| 64 | 67 |
| 65 <dl><dt><a name="Thread-BeginSlice"><strong>BeginSlice</strong></a>(self, catego
ry, name, timestamp, args<font color="#909090">=None</font>)</dt><dd><tt>Opens&n
bsp;a new slice for the thread.<br> | 68 <dl><dt><a name="Thread-BeginSlice"><strong>BeginSlice</strong></a>(self, catego
ry, name, timestamp, thread_timestamp<font color="#909090">=None</font>, args<fo
nt color="#909090">=None</font>)</dt><dd><tt>Opens a new slice&nb
sp;for the thread.<br> |
| 66 Calls to beginSlice and endSlice must be made
with<br> | 69 Calls to beginSlice and endSlice must be made
with<br> |
| 67 non-monotonically-decreasing timestamps.<br> | 70 non-monotonically-decreasing timestamps.<br> |
| 68 <br> | 71 <br> |
| 69 * category: Category to which the slice belon
gs.<br> | 72 * category: Category to which the slice belon
gs.<br> |
| 70 * name: Name of the slice to add.<br> | 73 * name: Name of the slice to add.<br> |
| 71 * timestamp: The timetsamp of the slice, in&n
bsp;milliseconds.<br> | 74 * timestamp: The timetsamp of the slice, in&n
bsp;milliseconds.<br> |
| 75 * thread_timestamp: <a href="#Thread">Thread</a> specific cl
ock (scheduled) timestamp of the<br> |
| 76 &n
bsp; slice, in milliseconds.<br> |
| 72 * args: Arguments associated with<br> | 77 * args: Arguments associated with<br> |
| 73 <br> | 78 <br> |
| 74 Returns newly opened slice</tt></dd></dl> | 79 Returns newly opened slice</tt></dd></dl> |
| 75 | 80 |
| 76 <dl><dt><a name="Thread-EndSlice"><strong>EndSlice</strong></a>(self, end_timest
amp)</dt><dd><tt>Ends the last begun slice in this
group and pushes it onto the slice<br> | 81 <dl><dt><a name="Thread-EndSlice"><strong>EndSlice</strong></a>(self, end_timest
amp, end_thread_timestamp<font color="#909090">=None</font>)</dt><dd><tt>Ends&nb
sp;the last begun slice in this group and&nbs
p;pushes it onto the slice<br> |
| 77 array.<br> | 82 array.<br> |
| 78 <br> | 83 <br> |
| 79 * end_timestamp: Timestamp when the slice ended&nb
sp;in milliseconds<br> | 84 * end_timestamp: Timestamp when the slice ended&nb
sp;in milliseconds<br> |
| 85 * end_thread_timestamp: Timestamp when the scheduled&nb
sp;time of the slice ended<br> |
| 86 &n
bsp; in millisec
onds<br> |
| 80 <br> | 87 <br> |
| 81 returns completed slice.</tt></dd></dl> | 88 returns completed slice.</tt></dd></dl> |
| 82 | 89 |
| 83 <dl><dt><a name="Thread-FinalizeImport"><strong>FinalizeImport</strong></a>(self
)</dt></dl> | 90 <dl><dt><a name="Thread-FinalizeImport"><strong>FinalizeImport</strong></a>(self
)</dt></dl> |
| 84 | 91 |
| 85 <dl><dt><a name="Thread-IsTimestampValidForBeginOrEnd"><strong>IsTimestampValidF
orBeginOrEnd</strong></a>(self, timestamp)</dt></dl> | 92 <dl><dt><a name="Thread-IsTimestampValidForBeginOrEnd"><strong>IsTimestampValidF
orBeginOrEnd</strong></a>(self, timestamp)</dt></dl> |
| 86 | 93 |
| 94 <dl><dt><a name="Thread-IterAllAsyncSlices"><strong>IterAllAsyncSlices</strong><
/a>(self)</dt></dl> |
| 95 |
| 96 <dl><dt><a name="Thread-IterAllAsyncSlicesOfName"><strong>IterAllAsyncSlicesOfNa
me</strong></a>(self, name)</dt></dl> |
| 97 |
| 98 <dl><dt><a name="Thread-IterAllFlowEvents"><strong>IterAllFlowEvents</strong></a
>(self)</dt></dl> |
| 99 |
| 87 <dl><dt><a name="Thread-IterAllSlices"><strong>IterAllSlices</strong></a>(self)<
/dt></dl> | 100 <dl><dt><a name="Thread-IterAllSlices"><strong>IterAllSlices</strong></a>(self)<
/dt></dl> |
| 88 | 101 |
| 102 <dl><dt><a name="Thread-IterAllSlicesOfName"><strong>IterAllSlicesOfName</strong
></a>(self, name)</dt></dl> |
| 103 |
| 89 <dl><dt><a name="Thread-IterChildContainers"><strong>IterChildContainers</strong
></a>(self)</dt></dl> | 104 <dl><dt><a name="Thread-IterChildContainers"><strong>IterChildContainers</strong
></a>(self)</dt></dl> |
| 90 | 105 |
| 91 <dl><dt><a name="Thread-IterEventsInThisContainer"><strong>IterEventsInThisConta
iner</strong></a>(self)</dt></dl> | 106 <dl><dt><a name="Thread-IterEventsInThisContainer"><strong>IterEventsInThisConta
iner</strong></a>(self)</dt></dl> |
| 92 | 107 |
| 108 <dl><dt><a name="Thread-PushCompleteSlice"><strong>PushCompleteSlice</strong></a
>(self, category, name, timestamp, duration, thread_timestamp, thread_duration,
args<font color="#909090">=None</font>)</dt></dl> |
| 109 |
| 93 <dl><dt><a name="Thread-PushSlice"><strong>PushSlice</strong></a>(self, new_slic
e)</dt></dl> | 110 <dl><dt><a name="Thread-PushSlice"><strong>PushSlice</strong></a>(self, new_slic
e)</dt></dl> |
| 94 | 111 |
| 95 <dl><dt><a name="Thread-__init__"><strong>__init__</strong></a>(self, process, t
id)</dt></dl> | 112 <dl><dt><a name="Thread-__init__"><strong>__init__</strong></a>(self, process, t
id)</dt></dl> |
| 96 | 113 |
| 97 <hr> | 114 <hr> |
| 98 Data descriptors defined here:<br> | 115 Data descriptors defined here:<br> |
| 99 <dl><dt><strong>all_slices</strong></dt> | 116 <dl><dt><strong>all_slices</strong></dt> |
| 100 </dl> | 117 </dl> |
| 101 <dl><dt><strong>async_slices</strong></dt> | 118 <dl><dt><strong>async_slices</strong></dt> |
| 102 </dl> | 119 </dl> |
| 103 <dl><dt><strong>open_slice_count</strong></dt> | 120 <dl><dt><strong>open_slice_count</strong></dt> |
| 104 </dl> | 121 </dl> |
| 105 <dl><dt><strong>samples</strong></dt> | 122 <dl><dt><strong>samples</strong></dt> |
| 106 </dl> | 123 </dl> |
| 107 <dl><dt><strong>toplevel_slices</strong></dt> | 124 <dl><dt><strong>toplevel_slices</strong></dt> |
| 108 </dl> | 125 </dl> |
| 109 <hr> | 126 <hr> |
| 110 Data descriptors inherited from <a href="telemetry.core.timeline.event_container
.html#TimelineEventContainer">telemetry.core.timeline.event_container.TimelineEv
entContainer</a>:<br> | 127 Data descriptors inherited from <a href="telemetry.core.timeline.event_container
.html#TimelineEventContainer">telemetry.core.timeline.event_container.TimelineEv
entContainer</a>:<br> |
| 111 <dl><dt><strong>__dict__</strong></dt> | 128 <dl><dt><strong>__dict__</strong></dt> |
| 112 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | 129 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> |
| 113 </dl> | 130 </dl> |
| 114 <dl><dt><strong>__weakref__</strong></dt> | 131 <dl><dt><strong>__weakref__</strong></dt> |
| 115 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | 132 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
| 116 </dl> | 133 </dl> |
| 117 </td></tr></table></td></tr></table> | 134 </td></tr></table></td></tr></table> |
| 118 </body></html> | 135 </body></html> |
| OLD | NEW |