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

Side by Side Diff: tools/telemetry/docs/telemetry.core.timeline.tracing.thread.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
(Empty)
1
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.core.timeline.tracing.thread</title>
4 </head><body bgcolor="#f0f0f8">
5
6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
7 <tr bgcolor="#7799ee">
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>.<a href="telemetry.core.timel ine.tracing.html"><font color="#ffffff">tracing</font></a>.thread</strong></big> </big></font></td
10 ><td align=right valign=bottom
11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href= "../telemetry/core/timeline/tracing/thread.py">telemetry/core/timeline/tracing/t hread.py</a></font></td></tr></table>
12 <p><tt>#&nbsp;Copyright&nbsp;2013&nbsp;The&nbsp;Chromium&nbsp;Authors.&nbsp; All&nbsp;rights&nbsp;reserved.<br>
13 #&nbsp;Use&nbsp;of&nbsp;this&nbsp;source&nbsp;code&nbsp;is&nbsp;governed&nbsp;by &nbsp;a&nbsp;BSD-style&nbsp;license&nbsp;that&nbsp;can&nbsp;be<br>
14 #&nbsp;found&nbsp;in&nbsp;the&nbsp;LICENSE&nbsp;file.</tt></p>
15 <p>
16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
17 <tr bgcolor="#aa55cc">
18 <td colspan=3 valign=bottom>&nbsp;<br>
19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big ></font></td></tr>
20
21 <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</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>
23 </td><td width="25%" valign=top><a href="telemetry.core.timeline.tracing.sample. html">telemetry.core.timeline.tracing.sample</a><br>
24 </td><td width="25%" valign=top><a href="telemetry.core.timeline.tracing.slice.h tml">telemetry.core.timeline.tracing.slice</a><br>
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">
27 <tr bgcolor="#ee77aa">
28 <td colspan=3 valign=bottom>&nbsp;<br>
29 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big ></font></td></tr>
30
31 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td>
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>)
34 </font></dt><dd>
35 <dl>
36 <dt><font face="helvetica, arial"><a href="telemetry.core.timeline.tracing.threa d.html#Thread">Thread</a>
37 </font></dt></dl>
38 </dd>
39 </dl>
40 <p>
41 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
42 <tr bgcolor="#ffc8d8">
43 <td colspan=3 valign=bottom>&nbsp;<br>
44 <font color="#000000" face="helvetica, arial"><a name="Thread">class <strong>Thr ead</strong></a>(<a href="telemetry.core.timeline.event.html#TimelineEvent">tele metry.core.timeline.event.TimelineEvent</a>)</font></td></tr>
45
46 <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
47 <td colspan=2><tt>A&nbsp;<a href="#Thread">Thread</a>&nbsp;stores&nbsp;all&nbsp; the&nbsp;trace&nbsp;events&nbsp;collected&nbsp;for&nbsp;a&nbsp;particular<br>
48 thread.&nbsp;We&nbsp;organize&nbsp;the&nbsp;synchronous&nbsp;slices&nbsp;on&nbsp ;a&nbsp;thread&nbsp;by&nbsp;"subrows,"&nbsp;where<br>
49 subrow&nbsp;0&nbsp;has&nbsp;all&nbsp;the&nbsp;root&nbsp;slices,&nbsp;subrow&nbsp ;1&nbsp;those&nbsp;nested&nbsp;1&nbsp;deep,&nbsp;and&nbsp;so&nbsp;on.<br>
50 The&nbsp;asynchronous&nbsp;slices&nbsp;are&nbsp;stored&nbsp;in&nbsp;an&nbsp;Asyn cSliceGroup&nbsp;object.<br>&nbsp;</tt></td></tr>
51 <tr><td>&nbsp;</td>
52 <td width="100%"><dl><dt>Method resolution order:</dt>
53 <dd><a href="telemetry.core.timeline.tracing.thread.html#Thread">Thread</a></dd>
54 <dd><a href="telemetry.core.timeline.event.html#TimelineEvent">telemetry.core.ti meline.event.TimelineEvent</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="Thread-AddAsyncSlice"><strong>AddAsyncSlice</strong></a>(self, async_slice)</dt></dl>
60
61 <dl><dt><a name="Thread-AddSample"><strong>AddSample</strong></a>(self, category , name, timestamp, args<font color="#909090">=None</font>)</dt></dl>
62
63 <dl><dt><a name="Thread-AutoCloseOpenSlices"><strong>AutoCloseOpenSlices</strong ></a>(self, max_timestamp<font color="#909090">=None</font>)</dt></dl>
64
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&nbsp;new&nbsp;slice&nbsp;for&nbsp;the&nbsp;thread.<br>
66 Calls&nbsp;to&nbsp;beginSlice&nbsp;and&nbsp;endSlice&nbsp;must&nbsp;be&nbsp;made &nbsp;with<br>
67 non-monotonically-decreasing&nbsp;timestamps.<br>
68 &nbsp;<br>
69 *&nbsp;category:&nbsp;Category&nbsp;to&nbsp;which&nbsp;the&nbsp;slice&nbsp;belon gs.<br>
70 *&nbsp;name:&nbsp;Name&nbsp;of&nbsp;the&nbsp;slice&nbsp;to&nbsp;add.<br>
71 *&nbsp;timestamp:&nbsp;The&nbsp;timetsamp&nbsp;of&nbsp;the&nbsp;slice,&nbsp;in&n bsp;milliseconds.<br>
72 *&nbsp;args:&nbsp;Arguments&nbsp;associated&nbsp;with<br>
73 &nbsp;<br>
74 Returns&nbsp;newly&nbsp;opened&nbsp;slice</tt></dd></dl>
75
76 <dl><dt><a name="Thread-EndSlice"><strong>EndSlice</strong></a>(self, end_timest amp)</dt><dd><tt>Ends&nbsp;the&nbsp;last&nbsp;begun&nbsp;slice&nbsp;in&nbsp;this &nbsp;group&nbsp;and&nbsp;pushes&nbsp;it&nbsp;onto&nbsp;the&nbsp;slice<br>
77 array.<br>
78 &nbsp;<br>
79 *&nbsp;end_timestamp:&nbsp;Timestamp&nbsp;when&nbsp;the&nbsp;slice&nbsp;ended&nb sp;in&nbsp;milliseconds<br>
80 &nbsp;<br>
81 returns&nbsp;completed&nbsp;slice.</tt></dd></dl>
82
83 <dl><dt><a name="Thread-IsTimestampValidForBeginOrEnd"><strong>IsTimestampValidF orBeginOrEnd</strong></a>(self, timestamp)</dt></dl>
84
85 <dl><dt><a name="Thread-PushSlice"><strong>PushSlice</strong></a>(self, new_slic e)</dt></dl>
86
87 <dl><dt><a name="Thread-UpdateBounds"><strong>UpdateBounds</strong></a>(self)</d t></dl>
88
89 <dl><dt><a name="Thread-__init__"><strong>__init__</strong></a>(self, process, t id)</dt></dl>
90
91 <hr>
92 Data descriptors defined here:<br>
93 <dl><dt><strong>async_slices</strong></dt>
94 </dl>
95 <dl><dt><strong>open_slice_count</strong></dt>
96 </dl>
97 <dl><dt><strong>samples</strong></dt>
98 </dl>
99 <dl><dt><strong>slices</strong></dt>
100 </dl>
101 <hr>
102 Methods inherited from <a href="telemetry.core.timeline.event.html#TimelineEvent ">telemetry.core.timeline.event.TimelineEvent</a>:<br>
103 <dl><dt><a name="Thread-GetAllChildrenRecursive"><strong>GetAllChildrenRecursive </strong></a>(self, include_self<font color="#909090">=False</font>)</dt></dl>
104
105 <dl><dt><a name="Thread-ShiftTimestampsForward"><strong>ShiftTimestampsForward</ strong></a>(self, delta_time)</dt><dd><tt>Shifts&nbsp;start&nbsp;time&nbsp;of&nb sp;event&nbsp;by&nbsp;delta_time&nbsp;and&nbsp;also<br>
106 recursively&nbsp;shifts&nbsp;child&nbsp;events.</tt></dd></dl>
107
108 <dl><dt><a name="Thread-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
109
110 <hr>
111 Data descriptors inherited from <a href="telemetry.core.timeline.event.html#Time lineEvent">telemetry.core.timeline.event.TimelineEvent</a>:<br>
112 <dl><dt><strong>__dict__</strong></dt>
113 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)< /tt></dd>
114 </dl>
115 <dl><dt><strong>__weakref__</strong></dt>
116 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;defined)</tt></dd>
117 </dl>
118 <dl><dt><strong>end</strong></dt>
119 </dl>
120 <dl><dt><strong>self_time</strong></dt>
121 <dd><tt>Time&nbsp;spent&nbsp;in&nbsp;this&nbsp;function&nbsp;less&nbsp;any&nbsp; time&nbsp;spent&nbsp;in&nbsp;child&nbsp;events.</tt></dd>
122 </dl>
123 </td></tr></table></td></tr></table>
124 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698