| OLD | NEW |
| (Empty) |
| 1 | |
| 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
| 3 <html><head><title>Python: module telemetry.timeline.process</title> | |
| 4 <meta charset="utf-8"> | |
| 5 </head><body bgcolor="#f0f0f8"> | |
| 6 | |
| 7 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> | |
| 8 <tr bgcolor="#7799ee"> | |
| 9 <td valign=bottom> <br> | |
| 10 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.timeline.html"><font color="#ffffff">timeline</font></a>.process</strong></big>
</big></font></td | |
| 11 ><td align=right valign=bottom | |
| 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/timeline/process.py">telemetry/timeline/process.py</a></font></td>
</tr></table> | |
| 13 <p><tt># Copyright 2014 The Chromium Authors.
All rights reserved.<br> | |
| 14 # Use of this source code is governed by
a BSD-style license that can be<br> | |
| 15 # found in the LICENSE file.</tt></p> | |
| 16 <p> | |
| 17 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 18 <tr bgcolor="#aa55cc"> | |
| 19 <td colspan=3 valign=bottom> <br> | |
| 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> | |
| 21 | |
| 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.timeline.event_container.html">telemetry.timeline.event_co
ntainer</a><br> | |
| 24 <a href="telemetry.timeline.event.html">telemetry.timeline.event</a><br> | |
| 25 </td><td width="25%" valign=top><a href="telemetry.timeline.memory_dump_event.ht
ml">telemetry.timeline.memory_dump_event</a><br> | |
| 26 <a href="telemetry.timeline.counter.html">telemetry.timeline.counter</a><br> | |
| 27 </td><td width="25%" valign=top><a href="telemetry.timeline.thread.html">telemet
ry.timeline.thread</a><br> | |
| 28 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> | |
| 29 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 30 <tr bgcolor="#ee77aa"> | |
| 31 <td colspan=3 valign=bottom> <br> | |
| 32 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | |
| 33 | |
| 34 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | |
| 35 <td width="100%"><dl> | |
| 36 <dt><font face="helvetica, arial"><a href="telemetry.timeline.event_container.ht
ml#TimelineEventContainer">telemetry.timeline.event_container.TimelineEventConta
iner</a>(<a href="__builtin__.html#object">__builtin__.object</a>) | |
| 37 </font></dt><dd> | |
| 38 <dl> | |
| 39 <dt><font face="helvetica, arial"><a href="telemetry.timeline.process.html#Proce
ss">Process</a> | |
| 40 </font></dt></dl> | |
| 41 </dd> | |
| 42 </dl> | |
| 43 <p> | |
| 44 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 45 <tr bgcolor="#ffc8d8"> | |
| 46 <td colspan=3 valign=bottom> <br> | |
| 47 <font color="#000000" face="helvetica, arial"><a name="Process">class <strong>Pr
ocess</strong></a>(<a href="telemetry.timeline.event_container.html#TimelineEven
tContainer">telemetry.timeline.event_container.TimelineEventContainer</a>)</font
></td></tr> | |
| 48 | |
| 49 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> | |
| 50 <td colspan=2><tt>The <a href="#Process">Process</a> represents a
single userland process in the trace.<br> </
tt></td></tr> | |
| 51 <tr><td> </td> | |
| 52 <td width="100%"><dl><dt>Method resolution order:</dt> | |
| 53 <dd><a href="telemetry.timeline.process.html#Process">Process</a></dd> | |
| 54 <dd><a href="telemetry.timeline.event_container.html#TimelineEventContainer">tel
emetry.timeline.event_container.TimelineEventContainer</a></dd> | |
| 55 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> | |
| 56 </dl> | |
| 57 <hr> | |
| 58 Methods defined here:<br> | |
| 59 <dl><dt><a name="Process-AddMemoryDumpEvent"><strong>AddMemoryDumpEvent</strong>
</a>(self, memory_dump)</dt><dd><tt>Add a ProcessMemoryDumpEvent
to this process.</tt></dd></dl> | |
| 60 | |
| 61 <dl><dt><a name="Process-AutoCloseOpenSlices"><strong>AutoCloseOpenSlices</stron
g></a>(self, max_timestamp, thread_time_bounds)</dt></dl> | |
| 62 | |
| 63 <dl><dt><a name="Process-FinalizeImport"><strong>FinalizeImport</strong></a>(sel
f)</dt></dl> | |
| 64 | |
| 65 <dl><dt><a name="Process-GetCounter"><strong>GetCounter</strong></a>(self, categ
ory, name)</dt></dl> | |
| 66 | |
| 67 <dl><dt><a name="Process-GetOrCreateCounter"><strong>GetOrCreateCounter</strong>
</a>(self, category, name)</dt></dl> | |
| 68 | |
| 69 <dl><dt><a name="Process-GetOrCreateThread"><strong>GetOrCreateThread</strong></
a>(self, tid)</dt></dl> | |
| 70 | |
| 71 <dl><dt><a name="Process-IterChildContainers"><strong>IterChildContainers</stron
g></a>(self)</dt></dl> | |
| 72 | |
| 73 <dl><dt><a name="Process-IterEventsInThisContainer"><strong>IterEventsInThisCont
ainer</strong></a>(self, event_type_predicate, event_predicate)</dt></dl> | |
| 74 | |
| 75 <dl><dt><a name="Process-SetTraceBufferOverflowTimestamp"><strong>SetTraceBuffer
OverflowTimestamp</strong></a>(self, timestamp)</dt></dl> | |
| 76 | |
| 77 <dl><dt><a name="Process-__init__"><strong>__init__</strong></a>(self, parent, p
id)</dt></dl> | |
| 78 | |
| 79 <hr> | |
| 80 Data descriptors defined here:<br> | |
| 81 <dl><dt><strong>counters</strong></dt> | |
| 82 </dl> | |
| 83 <dl><dt><strong>threads</strong></dt> | |
| 84 </dl> | |
| 85 <dl><dt><strong>trace_buffer_did_overflow</strong></dt> | |
| 86 </dl> | |
| 87 <dl><dt><strong>trace_buffer_overflow_event</strong></dt> | |
| 88 </dl> | |
| 89 <hr> | |
| 90 Methods inherited from <a href="telemetry.timeline.event_container.html#Timeline
EventContainer">telemetry.timeline.event_container.TimelineEventContainer</a>:<b
r> | |
| 91 <dl><dt><a name="Process-GetAllEvents"><strong>GetAllEvents</strong></a>(self, r
ecursive<font color="#909090">=True</font>)</dt><dd><tt># List version
s. These should always be simple expressions
that list() on<br> | |
| 92 # an underlying iter method.</tt></dd></dl> | |
| 93 | |
| 94 <dl><dt><a name="Process-GetAllEventsOfName"><strong>GetAllEventsOfName</strong>
</a>(self, name, recursive<font color="#909090">=True</font>)</dt></dl> | |
| 95 | |
| 96 <dl><dt><a name="Process-GetAllToplevelSlicesOfName"><strong>GetAllToplevelSlice
sOfName</strong></a>(self, name, recursive<font color="#909090">=True</font>)</d
t></dl> | |
| 97 | |
| 98 <dl><dt><a name="Process-IterAllAsyncSlicesOfName"><strong>IterAllAsyncSlicesOfN
ame</strong></a>(self, name, recursive<font color="#909090">=True</font>)</dt></
dl> | |
| 99 | |
| 100 <dl><dt><a name="Process-IterAllAsyncSlicesStartsWithName"><strong>IterAllAsyncS
licesStartsWithName</strong></a>(self, name, recursive<font color="#909090">=Tru
e</font>)</dt></dl> | |
| 101 | |
| 102 <dl><dt><a name="Process-IterAllEvents"><strong>IterAllEvents</strong></a>(self,
recursive<font color="#909090">=True</font>, event_type_predicate<font color="#
909090">=<function <lambda>></font>, event_predicate<font color="#90
9090">=<function <lambda>></font>)</dt><dd><tt>Iterates all&nbs
p;events in this container, pre-filtered by two&nb
sp;predicates.<br> | |
| 103 <br> | |
| 104 Only events with a type matching event_type_predic
ate AND matching event<br> | |
| 105 event_predicate will be yielded.<br> | |
| 106 <br> | |
| 107 event_type_predicate is given an actual type objec
t, e.g.:<br> | |
| 108 event_type_predicate(slice_module.Slice)<br> | |
| 109 <br> | |
| 110 event_predicate is given actual events:<br> | |
| 111 event_predicate(thread.slices[7])</tt></dd></dl> | |
| 112 | |
| 113 <dl><dt><a name="Process-IterAllEventsOfName"><strong>IterAllEventsOfName</stron
g></a>(self, name, recursive<font color="#909090">=True</font>)</dt><dd><tt>#&nb
sp;Helper functions for finding common kinds of&nb
sp;events. Must always take an<br> | |
| 114 # optinal recurisve parameter and be implemented&n
bsp;in terms fo IterAllEvents.</tt></dd></dl> | |
| 115 | |
| 116 <dl><dt><a name="Process-IterAllFlowEvents"><strong>IterAllFlowEvents</strong></
a>(self, recursive<font color="#909090">=True</font>)</dt></dl> | |
| 117 | |
| 118 <dl><dt><a name="Process-IterAllSlices"><strong>IterAllSlices</strong></a>(self,
recursive<font color="#909090">=True</font>)</dt></dl> | |
| 119 | |
| 120 <dl><dt><a name="Process-IterAllSlicesInRange"><strong>IterAllSlicesInRange</str
ong></a>(self, start, end, recursive<font color="#909090">=True</font>)</dt></dl
> | |
| 121 | |
| 122 <dl><dt><a name="Process-IterAllSlicesOfName"><strong>IterAllSlicesOfName</stron
g></a>(self, name, recursive<font color="#909090">=True</font>)</dt></dl> | |
| 123 | |
| 124 <dl><dt><a name="Process-IterAllToplevelSlicesOfName"><strong>IterAllToplevelSli
cesOfName</strong></a>(self, name, recursive<font color="#909090">=True</font>)<
/dt></dl> | |
| 125 | |
| 126 <hr> | |
| 127 Static methods inherited from <a href="telemetry.timeline.event_container.html#T
imelineEventContainer">telemetry.timeline.event_container.TimelineEventContainer
</a>:<br> | |
| 128 <dl><dt><a name="Process-IsAsyncSlice"><strong>IsAsyncSlice</strong></a>(t)</dt>
</dl> | |
| 129 | |
| 130 <hr> | |
| 131 Data descriptors inherited from <a href="telemetry.timeline.event_container.html
#TimelineEventContainer">telemetry.timeline.event_container.TimelineEventContain
er</a>:<br> | |
| 132 <dl><dt><strong>__dict__</strong></dt> | |
| 133 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | |
| 134 </dl> | |
| 135 <dl><dt><strong>__weakref__</strong></dt> | |
| 136 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
| 137 </dl> | |
| 138 </td></tr></table></td></tr></table> | |
| 139 </body></html> | |
| OLD | NEW |