| 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.tracing.process</title
    > | 3 <html><head><title>Python: module telemetry.core.timeline.process</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>.<a href="telemetry.core.timel
    ine.tracing.html"><font color="#ffffff">tracing</font></a>.process</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>.process</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/tracing/process.py">telemetry/core/timeline/tracing/
    process.py</a></font></td></tr></table> | 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
    "../telemetry/core/timeline/process.py">telemetry/core/timeline/process.py</a></
    font></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.html">telemetry.core.timeline.event</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="telemetry.core.timeline.tracing.counter
    .html">telemetry.core.timeline.tracing.counter</a><br> | 23 </td><td width="25%" valign=top><a href="telemetry.core.timeline.counter.html">t
    elemetry.core.timeline.counter</a><br> | 
| 24 </td><td width="25%" valign=top><a href="telemetry.core.timeline.tracing.thread.
    html">telemetry.core.timeline.tracing.thread</a><br> | 24 </td><td width="25%" valign=top><a href="telemetry.core.timeline.thread.html">te
    lemetry.core.timeline.thread</a><br> | 
| 25 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> | 25 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> | 
| 26 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 26 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 
| 27 <tr bgcolor="#ee77aa"> | 27 <tr bgcolor="#ee77aa"> | 
| 28 <td colspan=3 valign=bottom> <br> | 28 <td colspan=3 valign=bottom> <br> | 
| 29 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
    ></font></td></tr> | 29 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
    ></font></td></tr> | 
| 30 | 30 | 
| 31 <tr><td bgcolor="#ee77aa"><tt>      </tt></td><td>
     </td> | 31 <tr><td bgcolor="#ee77aa"><tt>      </tt></td><td>
     </td> | 
| 32 <td width="100%"><dl> | 32 <td width="100%"><dl> | 
| 33 <dt><font face="helvetica, arial"><a href="telemetry.core.timeline.event.html#Ti
    melineEvent">telemetry.core.timeline.event.TimelineEvent</a>(<a href="__builtin_
    _.html#object">__builtin__.object</a>) | 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 </font></dt><dd> | 34 </font></dt><dd> | 
| 35 <dl> | 35 <dl> | 
| 36 <dt><font face="helvetica, arial"><a href="telemetry.core.timeline.tracing.proce
    ss.html#Process">Process</a> | 36 <dt><font face="helvetica, arial"><a href="telemetry.core.timeline.process.html#
    Process">Process</a> | 
| 37 </font></dt></dl> | 37 </font></dt></dl> | 
| 38 </dd> | 38 </dd> | 
| 39 </dl> | 39 </dl> | 
| 40  <p> | 40  <p> | 
| 41 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 41 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 
| 42 <tr bgcolor="#ffc8d8"> | 42 <tr bgcolor="#ffc8d8"> | 
| 43 <td colspan=3 valign=bottom> <br> | 43 <td colspan=3 valign=bottom> <br> | 
| 44 <font color="#000000" face="helvetica, arial"><a name="Process">class <strong>Pr
    ocess</strong></a>(<a href="telemetry.core.timeline.event.html#TimelineEvent">te
    lemetry.core.timeline.event.TimelineEvent</a>)</font></td></tr> | 44 <font color="#000000" face="helvetica, arial"><a name="Process">class <strong>Pr
    ocess</strong></a>(<a href="telemetry.core.timeline.event_container.html#Timelin
    eEventContainer">telemetry.core.timeline.event_container.TimelineEventContainer<
    /a>)</font></td></tr> | 
| 45 | 45 | 
| 46 <tr bgcolor="#ffc8d8"><td rowspan=2><tt>   </tt></td> | 46 <tr bgcolor="#ffc8d8"><td rowspan=2><tt>   </tt></td> | 
| 47 <td colspan=2><tt>The <a href="#Process">Process</a> represents a
     single userland process in the trace.<br> </
    tt></td></tr> | 47 <td colspan=2><tt>The <a href="#Process">Process</a> represents a
     single userland process in the trace.<br> </
    tt></td></tr> | 
| 48 <tr><td> </td> | 48 <tr><td> </td> | 
| 49 <td width="100%"><dl><dt>Method resolution order:</dt> | 49 <td width="100%"><dl><dt>Method resolution order:</dt> | 
| 50 <dd><a href="telemetry.core.timeline.tracing.process.html#Process">Process</a></
    dd> | 50 <dd><a href="telemetry.core.timeline.process.html#Process">Process</a></dd> | 
| 51 <dd><a href="telemetry.core.timeline.event.html#TimelineEvent">telemetry.core.ti
    meline.event.TimelineEvent</a></dd> | 51 <dd><a href="telemetry.core.timeline.event_container.html#TimelineEventContainer
    ">telemetry.core.timeline.event_container.TimelineEventContainer</a></dd> | 
| 52 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> | 52 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> | 
| 53 </dl> | 53 </dl> | 
| 54 <hr> | 54 <hr> | 
| 55 Methods defined here:<br> | 55 Methods defined here:<br> | 
|  | 56 <dl><dt><a name="Process-AutoCloseOpenSlices"><strong>AutoCloseOpenSlices</stron
    g></a>(self, max_timestamp)</dt></dl> | 
|  | 57 | 
| 56 <dl><dt><a name="Process-FinalizeImport"><strong>FinalizeImport</strong></a>(sel
    f)</dt></dl> | 58 <dl><dt><a name="Process-FinalizeImport"><strong>FinalizeImport</strong></a>(sel
    f)</dt></dl> | 
| 57 | 59 | 
| 58 <dl><dt><a name="Process-GetCounter"><strong>GetCounter</strong></a>(self, categ
    ory, name)</dt></dl> | 60 <dl><dt><a name="Process-GetCounter"><strong>GetCounter</strong></a>(self, categ
    ory, name)</dt></dl> | 
| 59 | 61 | 
| 60 <dl><dt><a name="Process-GetOrCreateCounter"><strong>GetOrCreateCounter</strong>
    </a>(self, category, name)</dt></dl> | 62 <dl><dt><a name="Process-GetOrCreateCounter"><strong>GetOrCreateCounter</strong>
    </a>(self, category, name)</dt></dl> | 
| 61 | 63 | 
| 62 <dl><dt><a name="Process-GetOrCreateThread"><strong>GetOrCreateThread</strong></
    a>(self, tid)</dt></dl> | 64 <dl><dt><a name="Process-GetOrCreateThread"><strong>GetOrCreateThread</strong></
    a>(self, tid)</dt></dl> | 
| 63 | 65 | 
| 64 <dl><dt><a name="Process-GetThreadWithId"><strong>GetThreadWithId</strong></a>(s
    elf, tid)</dt></dl> | 66 <dl><dt><a name="Process-IterChildContainers"><strong>IterChildContainers</stron
    g></a>(self)</dt></dl> | 
| 65 | 67 | 
| 66 <dl><dt><a name="Process-UpdateBounds"><strong>UpdateBounds</strong></a>(self)</
    dt></dl> | 68 <dl><dt><a name="Process-IterEventsInThisContainer"><strong>IterEventsInThisCont
    ainer</strong></a>(self)</dt></dl> | 
| 67 | 69 | 
| 68 <dl><dt><a name="Process-__init__"><strong>__init__</strong></a>(self, pid)</dt>
    </dl> | 70 <dl><dt><a name="Process-__init__"><strong>__init__</strong></a>(self, parent, p
    id)</dt></dl> | 
| 69 | 71 | 
| 70 <hr> | 72 <hr> | 
| 71 Data descriptors defined here:<br> | 73 Data descriptors defined here:<br> | 
| 72 <dl><dt><strong>counters</strong></dt> | 74 <dl><dt><strong>counters</strong></dt> | 
| 73 </dl> | 75 </dl> | 
| 74 <dl><dt><strong>threads</strong></dt> | 76 <dl><dt><strong>threads</strong></dt> | 
| 75 </dl> | 77 </dl> | 
| 76 <hr> | 78 <hr> | 
| 77 Methods inherited from <a href="telemetry.core.timeline.event.html#TimelineEvent
    ">telemetry.core.timeline.event.TimelineEvent</a>:<br> | 79 Data descriptors inherited from <a href="telemetry.core.timeline.event_container
    .html#TimelineEventContainer">telemetry.core.timeline.event_container.TimelineEv
    entContainer</a>:<br> | 
| 78 <dl><dt><a name="Process-GetAllChildrenRecursive"><strong>GetAllChildrenRecursiv
    e</strong></a>(self, include_self<font color="#909090">=False</font>)</dt></dl> |  | 
| 79 |  | 
| 80 <dl><dt><a name="Process-ShiftTimestampsForward"><strong>ShiftTimestampsForward<
    /strong></a>(self, delta_time)</dt><dd><tt>Shifts start time of&n
    bsp;event by delta_time and also<br> |  | 
| 81 recursively shifts child events.</tt></dd></dl> |  | 
| 82 |  | 
| 83 <dl><dt><a name="Process-__repr__"><strong>__repr__</strong></a>(self)</dt></dl> |  | 
| 84 |  | 
| 85 <hr> |  | 
| 86 Data descriptors inherited from <a href="telemetry.core.timeline.event.html#Time
    lineEvent">telemetry.core.timeline.event.TimelineEvent</a>:<br> |  | 
| 87 <dl><dt><strong>__dict__</strong></dt> | 80 <dl><dt><strong>__dict__</strong></dt> | 
| 88 <dd><tt>dictionary for instance variables (if defined)<
    /tt></dd> | 81 <dd><tt>dictionary for instance variables (if defined)<
    /tt></dd> | 
| 89 </dl> | 82 </dl> | 
| 90 <dl><dt><strong>__weakref__</strong></dt> | 83 <dl><dt><strong>__weakref__</strong></dt> | 
| 91 <dd><tt>list of weak references to the object 
    ;(if defined)</tt></dd> | 84 <dd><tt>list of weak references to the object 
    ;(if defined)</tt></dd> | 
| 92 </dl> | 85 </dl> | 
| 93 <dl><dt><strong>end</strong></dt> |  | 
| 94 </dl> |  | 
| 95 <dl><dt><strong>self_time</strong></dt> |  | 
| 96 <dd><tt>Time spent in this function less any 
    time spent in child events.</tt></dd> |  | 
| 97 </dl> |  | 
| 98 </td></tr></table></td></tr></table> | 86 </td></tr></table></td></tr></table> | 
| 99 </body></html> | 87 </body></html> | 
| OLD | NEW | 
|---|