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

Side by Side Diff: tools/telemetry/docs/telemetry.core.platform.cros_platform_backend.html

Issue 196383034: Update telemetry docs by running the update_docs script. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
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.platform.cros_platform_backend< /title> 3 <html><head><title>Python: module telemetry.core.platform.cros_platform_backend< /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>&nbsp;<br> 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.platfo rm.html"><font color="#ffffff">platform</font></a>.cros_platform_backend</strong ></big></big></font></td 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.platfo rm.html"><font color="#ffffff">platform</font></a>.cros_platform_backend</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/platform/cros_platform_backend.py">telemetry/core/platform/cr os_platform_backend.py</a></font></td></tr></table> 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href= "../telemetry/core/platform/cros_platform_backend.py">telemetry/core/platform/cr os_platform_backend.py</a></font></td></tr></table>
12 <p><tt>#&nbsp;Copyright&nbsp;(c)&nbsp;2013&nbsp;The&nbsp;Chromium&nbsp;Autho rs.&nbsp;All&nbsp;rights&nbsp;reserved.<br> 12 <p><tt>#&nbsp;Copyright&nbsp;(c)&nbsp;2013&nbsp;The&nbsp;Chromium&nbsp;Autho rs.&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> 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> 14 #&nbsp;found&nbsp;in&nbsp;the&nbsp;LICENSE&nbsp;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>&nbsp;<br> 18 <td colspan=3 valign=bottom>&nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td> 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.platform.linux_platform_backend.html">telemetry.core. platform.linux_platform_backend</a><br> 22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t op><a href="telemetry.core.platform.proc_supporting_platform_backend.html">telem etry.core.platform.proc_supporting_platform_backend</a><br>
23 </td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width=" 25%" valign=top></td></tr></table></td></tr></table><p> 23 </td><td width="25%" valign=top><a href="telemetry.core.platform.ps_util.html">t elemetry.core.platform.ps_util</a><br>
24 </td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></tabl e></td></tr></table><p>
24 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 25 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
25 <tr bgcolor="#ee77aa"> 26 <tr bgcolor="#ee77aa">
26 <td colspan=3 valign=bottom>&nbsp;<br> 27 <td colspan=3 valign=bottom>&nbsp;<br>
27 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big ></font></td></tr> 28 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big ></font></td></tr>
28 29
29 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td> 30 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td>
30 <td width="100%"><dl> 31 <td width="100%"><dl>
31 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.linux_platfor m_backend.html#LinuxPlatformBackend">telemetry.core.platform.linux_platform_back end.LinuxPlatformBackend</a>(<a href="telemetry.core.platform.posix_platform_bac kend.html#PosixPlatformBackend">telemetry.core.platform.posix_platform_backend.P osixPlatformBackend</a>) 32 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.proc_supporti ng_platform_backend.html#ProcSupportingPlatformBackend">telemetry.core.platform. proc_supporting_platform_backend.ProcSupportingPlatformBackend</a>(<a href="tele metry.core.platform.platform_backend.html#PlatformBackend">telemetry.core.platfo rm.platform_backend.PlatformBackend</a>)
32 </font></dt><dd> 33 </font></dt><dd>
33 <dl> 34 <dl>
34 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.cros_platform _backend.html#CrosPlatformBackend">CrosPlatformBackend</a> 35 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.cros_platform _backend.html#CrosPlatformBackend">CrosPlatformBackend</a>
35 </font></dt></dl> 36 </font></dt></dl>
36 </dd> 37 </dd>
37 </dl> 38 </dl>
38 <p> 39 <p>
39 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 40 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
40 <tr bgcolor="#ffc8d8"> 41 <tr bgcolor="#ffc8d8">
41 <td colspan=3 valign=bottom>&nbsp;<br> 42 <td colspan=3 valign=bottom>&nbsp;<br>
42 <font color="#000000" face="helvetica, arial"><a name="CrosPlatformBackend">clas s <strong>CrosPlatformBackend</strong></a>(<a href="telemetry.core.platform.linu x_platform_backend.html#LinuxPlatformBackend">telemetry.core.platform.linux_plat form_backend.LinuxPlatformBackend</a>)</font></td></tr> 43 <font color="#000000" face="helvetica, arial"><a name="CrosPlatformBackend">clas s <strong>CrosPlatformBackend</strong></a>(<a href="telemetry.core.platform.proc _supporting_platform_backend.html#ProcSupportingPlatformBackend">telemetry.core. platform.proc_supporting_platform_backend.ProcSupportingPlatformBackend</a>)</fo nt></td></tr>
43 44
44 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> 45 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
45 <td width="100%"><dl><dt>Method resolution order:</dt> 46 <td width="100%"><dl><dt>Method resolution order:</dt>
46 <dd><a href="telemetry.core.platform.cros_platform_backend.html#CrosPlatformBack end">CrosPlatformBackend</a></dd> 47 <dd><a href="telemetry.core.platform.cros_platform_backend.html#CrosPlatformBack end">CrosPlatformBackend</a></dd>
47 <dd><a href="telemetry.core.platform.linux_platform_backend.html#LinuxPlatformBa ckend">telemetry.core.platform.linux_platform_backend.LinuxPlatformBackend</a></ dd> 48 <dd><a href="telemetry.core.platform.proc_supporting_platform_backend.html#ProcS upportingPlatformBackend">telemetry.core.platform.proc_supporting_platform_backe nd.ProcSupportingPlatformBackend</a></dd>
48 <dd><a href="telemetry.core.platform.posix_platform_backend.html#PosixPlatformBa ckend">telemetry.core.platform.posix_platform_backend.PosixPlatformBackend</a></ dd>
49 <dd><a href="telemetry.core.platform.platform_backend.html#PlatformBackend">tele metry.core.platform.platform_backend.PlatformBackend</a></dd> 49 <dd><a href="telemetry.core.platform.platform_backend.html#PlatformBackend">tele metry.core.platform.platform_backend.PlatformBackend</a></dd>
50 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 50 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
51 </dl> 51 </dl>
52 <hr> 52 <hr>
53 Methods defined here:<br> 53 Methods defined here:<br>
54 <dl><dt><a name="CrosPlatformBackend-CanFlushIndividualFilesFromSystemCache"><st rong>CanFlushIndividualFilesFromSystemCache</strong></a>(self)</dt></dl>
55
56 <dl><dt><a name="CrosPlatformBackend-FlushEntireSystemCache"><strong>FlushEntire SystemCache</strong></a>(self)</dt></dl>
57
58 <dl><dt><a name="CrosPlatformBackend-FlushSystemCacheForDirectory"><strong>Flush SystemCacheForDirectory</strong></a>(self, directory, ignoring<font color="#9090 90">=None</font>)</dt></dl>
59
60 <dl><dt><a name="CrosPlatformBackend-GetChildPids"><strong>GetChildPids</strong> </a>(self, pid)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;child&nbsp;pid s&nbsp;of&nbsp;|pid|.</tt></dd></dl>
61
62 <dl><dt><a name="CrosPlatformBackend-GetCommandLine"><strong>GetCommandLine</str ong></a>(self, pid)</dt></dl>
63
54 <dl><dt><a name="CrosPlatformBackend-GetIOStats"><strong>GetIOStats</strong></a> (self, pid)</dt></dl> 64 <dl><dt><a name="CrosPlatformBackend-GetIOStats"><strong>GetIOStats</strong></a> (self, pid)</dt></dl>
55 65
56 <dl><dt><a name="CrosPlatformBackend-GetOSName"><strong>GetOSName</strong></a>(s elf)</dt></dl> 66 <dl><dt><a name="CrosPlatformBackend-GetOSName"><strong>GetOSName</strong></a>(s elf)</dt></dl>
57 67
68 <dl><dt><a name="CrosPlatformBackend-GetOSVersionName"><strong>GetOSVersionName< /strong></a>(self)</dt></dl>
69
58 <dl><dt><a name="CrosPlatformBackend-GetRawDisplayFrameRateMeasurements"><strong >GetRawDisplayFrameRateMeasurements</strong></a>(self)</dt></dl> 70 <dl><dt><a name="CrosPlatformBackend-GetRawDisplayFrameRateMeasurements"><strong >GetRawDisplayFrameRateMeasurements</strong></a>(self)</dt></dl>
59 71
60 <dl><dt><a name="CrosPlatformBackend-HasBeenThermallyThrottled"><strong>HasBeenT hermallyThrottled</strong></a>(self)</dt></dl> 72 <dl><dt><a name="CrosPlatformBackend-HasBeenThermallyThrottled"><strong>HasBeenT hermallyThrottled</strong></a>(self)</dt></dl>
61 73
62 <dl><dt><a name="CrosPlatformBackend-IsThermallyThrottled"><strong>IsThermallyTh rottled</strong></a>(self)</dt></dl> 74 <dl><dt><a name="CrosPlatformBackend-IsThermallyThrottled"><strong>IsThermallyTh rottled</strong></a>(self)</dt></dl>
63 75
64 <dl><dt><a name="CrosPlatformBackend-StartRawDisplayFrameRateMeasurement"><stron g>StartRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl> 76 <dl><dt><a name="CrosPlatformBackend-StartRawDisplayFrameRateMeasurement"><stron g>StartRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl>
65 77
66 <dl><dt><a name="CrosPlatformBackend-StopRawDisplayFrameRateMeasurement"><strong >StopRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl> 78 <dl><dt><a name="CrosPlatformBackend-StopRawDisplayFrameRateMeasurement"><strong >StopRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl>
67 79
68 <dl><dt><a name="CrosPlatformBackend-__init__"><strong>__init__</strong></a>(sel f, cri)</dt></dl> 80 <dl><dt><a name="CrosPlatformBackend-__init__"><strong>__init__</strong></a>(sel f, cri)</dt></dl>
69 81
70 <hr> 82 <hr>
71 Methods inherited from <a href="telemetry.core.platform.linux_platform_backend.h tml#LinuxPlatformBackend">telemetry.core.platform.linux_platform_backend.LinuxPl atformBackend</a>:<br> 83 Methods inherited from <a href="telemetry.core.platform.proc_supporting_platform _backend.html#ProcSupportingPlatformBackend">telemetry.core.platform.proc_suppor ting_platform_backend.ProcSupportingPlatformBackend</a>:<br>
84 <dl><dt><a name="CrosPlatformBackend-GetCpuStats"><strong>GetCpuStats</strong></ a>(self, pid)</dt></dl>
85
86 <dl><dt><a name="CrosPlatformBackend-GetCpuTimestamp"><strong>GetCpuTimestamp</s trong></a>(self)</dt></dl>
87
72 <dl><dt><a name="CrosPlatformBackend-GetMemoryStats"><strong>GetMemoryStats</str ong></a>(self, pid)</dt></dl> 88 <dl><dt><a name="CrosPlatformBackend-GetMemoryStats"><strong>GetMemoryStats</str ong></a>(self, pid)</dt></dl>
73 89
74 <dl><dt><a name="CrosPlatformBackend-GetSystemCommitCharge"><strong>GetSystemCom mitCharge</strong></a>(self)</dt></dl> 90 <dl><dt><a name="CrosPlatformBackend-GetSystemCommitCharge"><strong>GetSystemCom mitCharge</strong></a>(self)</dt></dl>
75 91
76 <hr> 92 <dl><dt><a name="CrosPlatformBackend-GetSystemTotalPhysicalMemory"><strong>GetSy stemTotalPhysicalMemory</strong></a>(*args, **kwargs)</dt></dl>
77 Methods inherited from <a href="telemetry.core.platform.posix_platform_backend.h tml#PosixPlatformBackend">telemetry.core.platform.posix_platform_backend.PosixPl atformBackend</a>:<br>
78 <dl><dt><a name="CrosPlatformBackend-GetChildPids"><strong>GetChildPids</strong> </a>(self, pid)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;child&nbsp;pid s&nbsp;of&nbsp;|pid|.</tt></dd></dl>
79
80 <dl><dt><a name="CrosPlatformBackend-GetCommandLine"><strong>GetCommandLine</str ong></a>(self, pid)</dt></dl>
81 93
82 <hr> 94 <hr>
83 Methods inherited from <a href="telemetry.core.platform.platform_backend.html#Pl atformBackend">telemetry.core.platform.platform_backend.PlatformBackend</a>:<br> 95 Methods inherited from <a href="telemetry.core.platform.platform_backend.html#Pl atformBackend">telemetry.core.platform.platform_backend.PlatformBackend</a>:<br>
96 <dl><dt><a name="CrosPlatformBackend-CanCaptureVideo"><strong>CanCaptureVideo</s trong></a>(self)</dt></dl>
97
98 <dl><dt><a name="CrosPlatformBackend-CanLaunchApplication"><strong>CanLaunchAppl ication</strong></a>(self, application)</dt></dl>
99
100 <dl><dt><a name="CrosPlatformBackend-CanMonitorPowerAsync"><strong>CanMonitorPow erAsync</strong></a>(self)</dt></dl>
101
102 <dl><dt><a name="CrosPlatformBackend-CanMonitorPowerSync"><strong>CanMonitorPowe rSync</strong></a>(self)</dt></dl>
103
84 <dl><dt><a name="CrosPlatformBackend-CanMonitorThermalThrottling"><strong>CanMon itorThermalThrottling</strong></a>(self)</dt></dl> 104 <dl><dt><a name="CrosPlatformBackend-CanMonitorThermalThrottling"><strong>CanMon itorThermalThrottling</strong></a>(self)</dt></dl>
85 105
86 <dl><dt><a name="CrosPlatformBackend-GetOSVersionName"><strong>GetOSVersionName< /strong></a>(self)</dt></dl> 106 <dl><dt><a name="CrosPlatformBackend-InstallApplication"><strong>InstallApplicat ion</strong></a>(self, application)</dt></dl>
107
108 <dl><dt><a name="CrosPlatformBackend-IsApplicationRunning"><strong>IsApplication Running</strong></a>(self, application)</dt></dl>
87 109
88 <dl><dt><a name="CrosPlatformBackend-IsRawDisplayFrameRateSupported"><strong>IsR awDisplayFrameRateSupported</strong></a>(self)</dt></dl> 110 <dl><dt><a name="CrosPlatformBackend-IsRawDisplayFrameRateSupported"><strong>IsR awDisplayFrameRateSupported</strong></a>(self)</dt></dl>
89 111
112 <dl><dt><a name="CrosPlatformBackend-LaunchApplication"><strong>LaunchApplicatio n</strong></a>(self, application, parameters<font color="#909090">=None</font>, elevate_privilege<font color="#909090">=False</font>)</dt></dl>
113
114 <dl><dt><a name="CrosPlatformBackend-MonitorPowerSync"><strong>MonitorPowerSync< /strong></a>(self, duration_ms)</dt></dl>
115
116 <dl><dt><a name="CrosPlatformBackend-PurgeUnpinnedMemory"><strong>PurgeUnpinnedM emory</strong></a>(self)</dt></dl>
117
90 <dl><dt><a name="CrosPlatformBackend-SetFullPerformanceModeEnabled"><strong>SetF ullPerformanceModeEnabled</strong></a>(self, enabled)</dt></dl> 118 <dl><dt><a name="CrosPlatformBackend-SetFullPerformanceModeEnabled"><strong>SetF ullPerformanceModeEnabled</strong></a>(self, enabled)</dt></dl>
91 119
120 <dl><dt><a name="CrosPlatformBackend-StartMonitoringPowerAsync"><strong>StartMon itoringPowerAsync</strong></a>(self)</dt></dl>
121
122 <dl><dt><a name="CrosPlatformBackend-StartVideoCapture"><strong>StartVideoCaptur e</strong></a>(self, min_bitrate_mbps)</dt></dl>
123
124 <dl><dt><a name="CrosPlatformBackend-StopMonitoringPowerAsync"><strong>StopMonit oringPowerAsync</strong></a>(self)</dt></dl>
125
126 <dl><dt><a name="CrosPlatformBackend-StopVideoCapture"><strong>StopVideoCapture< /strong></a>(self)</dt></dl>
127
92 <hr> 128 <hr>
93 Data descriptors inherited from <a href="telemetry.core.platform.platform_backen d.html#PlatformBackend">telemetry.core.platform.platform_backend.PlatformBackend </a>:<br> 129 Data descriptors inherited from <a href="telemetry.core.platform.platform_backen d.html#PlatformBackend">telemetry.core.platform.platform_backend.PlatformBackend </a>:<br>
94 <dl><dt><strong>__dict__</strong></dt> 130 <dl><dt><strong>__dict__</strong></dt>
95 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)< /tt></dd> 131 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)< /tt></dd>
96 </dl> 132 </dl>
97 <dl><dt><strong>__weakref__</strong></dt> 133 <dl><dt><strong>__weakref__</strong></dt>
98 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;defined)</tt></dd> 134 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;defined)</tt></dd>
99 </dl> 135 </dl>
136 <dl><dt><strong>is_video_capture_running</strong></dt>
137 </dl>
100 </td></tr></table></td></tr></table> 138 </td></tr></table></td></tr></table>
101 </body></html> 139 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698