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

Side by Side Diff: tools/telemetry/docs/pydoc/telemetry.core.util.html

Issue 1647513002: Delete tools/telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
OLDNEW
(Empty)
1
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.core.util</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>&nbsp;<br>
10 <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>.util</strong></big></big></fon t></td
11 ><td align=right valign=bottom
12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href= "../telemetry/core/util.py">telemetry/core/util.py</a></font></td></tr></table>
13 <p><tt>#&nbsp;Copyright&nbsp;2012&nbsp;The&nbsp;Chromium&nbsp;Authors.&nbsp; All&nbsp;rights&nbsp;reserved.<br>
14 #&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>
15 #&nbsp;found&nbsp;in&nbsp;the&nbsp;LICENSE&nbsp;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>&nbsp;<br>
20 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big ></font></td></tr>
21
22 <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td>
23 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t op><a href="telemetry.core.exceptions.html">telemetry.core.exceptions</a><br>
24 <a href="glob.html">glob</a><br>
25 <a href="imp.html">imp</a><br>
26 </td><td width="25%" valign=top><a href="inspect.html">inspect</a><br>
27 <a href="logging.html">logging</a><br>
28 <a href="os.html">os</a><br>
29 </td><td width="25%" valign=top><a href="socket.html">socket</a><br>
30 <a href="sys.html">sys</a><br>
31 <a href="time.html">time</a><br>
32 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
33 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
34 <tr bgcolor="#ee77aa">
35 <td colspan=3 valign=bottom>&nbsp;<br>
36 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big ></font></td></tr>
37
38 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td>
39 <td width="100%"><dl>
40 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__. object</a>
41 </font></dt><dd>
42 <dl>
43 <dt><font face="helvetica, arial"><a href="telemetry.core.util.html#PortKeeper"> PortKeeper</a>
44 </font></dt></dl>
45 </dd>
46 </dl>
47 <p>
48 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
49 <tr bgcolor="#ffc8d8">
50 <td colspan=3 valign=bottom>&nbsp;<br>
51 <font color="#000000" face="helvetica, arial"><a name="PortKeeper">class <strong >PortKeeper</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a >)</font></td></tr>
52
53 <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
54 <td colspan=2><tt>Port&nbsp;keeper&nbsp;hold&nbsp;an&nbsp;available&nbsp;port&nb sp;on&nbsp;the&nbsp;system.<br>
55 &nbsp;<br>
56 Before&nbsp;actually&nbsp;use&nbsp;the&nbsp;port,&nbsp;you&nbsp;must&nbsp;call&n bsp;<a href="#PortKeeper-Release">Release</a>().<br>&nbsp;</tt></td></tr>
57 <tr><td>&nbsp;</td>
58 <td width="100%">Methods defined here:<br>
59 <dl><dt><a name="PortKeeper-Release"><strong>Release</strong></a>(self)</dt></dl >
60
61 <dl><dt><a name="PortKeeper-__init__"><strong>__init__</strong></a>(self)</dt></ dl>
62
63 <hr>
64 Data descriptors defined here:<br>
65 <dl><dt><strong>__dict__</strong></dt>
66 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)< /tt></dd>
67 </dl>
68 <dl><dt><strong>__weakref__</strong></dt>
69 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;defined)</tt></dd>
70 </dl>
71 <dl><dt><strong>port</strong></dt>
72 </dl>
73 </td></tr></table></td></tr></table><p>
74 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
75 <tr bgcolor="#eeaa77">
76 <td colspan=3 valign=bottom>&nbsp;<br>
77 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></b ig></font></td></tr>
78
79 <tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td>
80 <td width="100%"><dl><dt><a name="-GetBaseDir"><strong>GetBaseDir</strong></a>() </dt></dl>
81 <dl><dt><a name="-GetBuildDirectories"><strong>GetBuildDirectories</strong></a> ()</dt><dd><tt>Yields&nbsp;all&nbsp;combination&nbsp;of&nbsp;Chromium&nbsp;build &nbsp;output&nbsp;directories.</tt></dd></dl>
82 <dl><dt><a name="-GetChromiumSrcDir"><strong>GetChromiumSrcDir</strong></a>()</ dt></dl>
83 <dl><dt><a name="-GetPythonPageSetModule"><strong>GetPythonPageSetModule</stron g></a>(file_path)</dt></dl>
84 <dl><dt><a name="-GetSequentialFileName"><strong>GetSequentialFileName</strong> </a>(base_name)</dt><dd><tt>Returns&nbsp;the&nbsp;next&nbsp;sequential&nbsp;file &nbsp;name&nbsp;based&nbsp;on&nbsp;|base_name|&nbsp;and&nbsp;the<br>
85 existing&nbsp;files.&nbsp;base_name&nbsp;should&nbsp;not&nbsp;contain&nbsp;exten sion.<br>
86 e.g:&nbsp;if&nbsp;base_name&nbsp;is&nbsp;/tmp/test,&nbsp;and&nbsp;/tmp/test_000. json,<br>
87 /tmp/test_001.mp3&nbsp;exist,&nbsp;this&nbsp;returns&nbsp;/tmp/test_002.&nbsp;In &nbsp;case&nbsp;no<br>
88 other&nbsp;sequential&nbsp;file&nbsp;name&nbsp;exist,&nbsp;this&nbsp;will&nbsp;r eturn&nbsp;/tmp/test_000</tt></dd></dl>
89 <dl><dt><a name="-GetTelemetryDir"><strong>GetTelemetryDir</strong></a>()</dt>< /dl>
90 <dl><dt><a name="-GetTelemetryThirdPartyDir"><strong>GetTelemetryThirdPartyDir< /strong></a>()</dt></dl>
91 <dl><dt><a name="-GetUnittestDataDir"><strong>GetUnittestDataDir</strong></a>() </dt></dl>
92 <dl><dt><a name="-GetUnreservedAvailableLocalPort"><strong>GetUnreservedAvailab leLocalPort</strong></a>()</dt><dd><tt>Returns&nbsp;an&nbsp;available&nbsp;port& nbsp;on&nbsp;the&nbsp;system.<br>
93 &nbsp;<br>
94 WARNING:&nbsp;This&nbsp;method&nbsp;does&nbsp;not&nbsp;reserve&nbsp;the&nbsp;por t&nbsp;it&nbsp;returns,&nbsp;so&nbsp;it&nbsp;may&nbsp;be&nbsp;used<br>
95 by&nbsp;something&nbsp;else&nbsp;before&nbsp;you&nbsp;get&nbsp;to&nbsp;use&nbsp; it.&nbsp;This&nbsp;can&nbsp;lead&nbsp;to&nbsp;flake.</tt></dd></dl>
96 <dl><dt><a name="-IsRunningOnCrosDevice"><strong>IsRunningOnCrosDevice</strong> </a>()</dt><dd><tt>Returns&nbsp;True&nbsp;if&nbsp;we're&nbsp;on&nbsp;a&nbsp;Chro meOS&nbsp;device.</tt></dd></dl>
97 <dl><dt><a name="-WaitFor"><strong>WaitFor</strong></a>(condition, timeout)</dt ><dd><tt>Waits&nbsp;for&nbsp;up&nbsp;to&nbsp;|timeout|&nbsp;secs&nbsp;for&nbsp;t he&nbsp;function&nbsp;|condition|&nbsp;to&nbsp;return&nbsp;True.<br>
98 &nbsp;<br>
99 Polling&nbsp;frequency&nbsp;is&nbsp;(elapsed_time&nbsp;/&nbsp;10),&nbsp;with&nbs p;a&nbsp;min&nbsp;of&nbsp;.1s&nbsp;and&nbsp;max&nbsp;of&nbsp;5s.<br>
100 &nbsp;<br>
101 Returns:<br>
102 &nbsp;&nbsp;Result&nbsp;of&nbsp;|condition|&nbsp;function&nbsp;(if&nbsp;present) .</tt></dd></dl>
103 </td></tr></table>
104 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698