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.platform.posix_platform_backend
</title> | 3 <html><head><title>Python: module telemetry.core.platform.posix_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> <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.platfo
rm.html"><font color="#ffffff">platform</font></a>.posix_platform_backend</stron
g></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.platfo
rm.html"><font color="#ffffff">platform</font></a>.posix_platform_backend</stron
g></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/posix_platform_backend.py">telemetry/core/platform/p
osix_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/posix_platform_backend.py">telemetry/core/platform/p
osix_platform_backend.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.platform.platform_backend.html">telemetry.core.platfo
rm.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.desktop_platform_backend.html">telemetry.cor
e.platform.desktop_platform_backend</a><br> |
23 </td><td width="25%" valign=top><a href="subprocess.html">subprocess</a><br> | 23 <a href="distutils.html">distutils</a><br> |
24 </td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></tabl
e></td></tr></table><p> | 24 </td><td width="25%" valign=top><a href="logging.html">logging</a><br> |
| 25 <a href="os.html">os</a><br> |
| 26 </td><td width="25%" valign=top><a href="telemetry.core.platform.ps_util.html">t
elemetry.core.platform.ps_util</a><br> |
| 27 <a href="re.html">re</a><br> |
| 28 </td><td width="25%" valign=top><a href="stat.html">stat</a><br> |
| 29 <a href="subprocess.html">subprocess</a><br> |
| 30 </td></tr></table></td></tr></table><p> |
25 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 31 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
26 <tr bgcolor="#ee77aa"> | 32 <tr bgcolor="#ee77aa"> |
27 <td colspan=3 valign=bottom> <br> | 33 <td colspan=3 valign=bottom> <br> |
28 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | 34 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> |
29 | 35 |
30 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | 36 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> |
31 <td width="100%"><dl> | 37 <td width="100%"><dl> |
32 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.platform_back
end.html#PlatformBackend">telemetry.core.platform.platform_backend.PlatformBacke
nd</a>(<a href="__builtin__.html#object">__builtin__.object</a>) | 38 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.desktop_platf
orm_backend.html#DesktopPlatformBackend">telemetry.core.platform.desktop_platfor
m_backend.DesktopPlatformBackend</a>(<a href="telemetry.core.platform.platform_b
ackend.html#PlatformBackend">telemetry.core.platform.platform_backend.PlatformBa
ckend</a>) |
33 </font></dt><dd> | 39 </font></dt><dd> |
34 <dl> | 40 <dl> |
35 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.posix_platfor
m_backend.html#PosixPlatformBackend">PosixPlatformBackend</a> | 41 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.posix_platfor
m_backend.html#PosixPlatformBackend">PosixPlatformBackend</a> |
36 </font></dt></dl> | 42 </font></dt></dl> |
37 </dd> | 43 </dd> |
38 </dl> | 44 </dl> |
39 <p> | 45 <p> |
40 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 46 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
41 <tr bgcolor="#ffc8d8"> | 47 <tr bgcolor="#ffc8d8"> |
42 <td colspan=3 valign=bottom> <br> | 48 <td colspan=3 valign=bottom> <br> |
43 <font color="#000000" face="helvetica, arial"><a name="PosixPlatformBackend">cla
ss <strong>PosixPlatformBackend</strong></a>(<a href="telemetry.core.platform.pl
atform_backend.html#PlatformBackend">telemetry.core.platform.platform_backend.Pl
atformBackend</a>)</font></td></tr> | 49 <font color="#000000" face="helvetica, arial"><a name="PosixPlatformBackend">cla
ss <strong>PosixPlatformBackend</strong></a>(<a href="telemetry.core.platform.de
sktop_platform_backend.html#DesktopPlatformBackend">telemetry.core.platform.desk
top_platform_backend.DesktopPlatformBackend</a>)</font></td></tr> |
44 | 50 |
45 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | 51 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
46 <td width="100%"><dl><dt>Method resolution order:</dt> | 52 <td width="100%"><dl><dt>Method resolution order:</dt> |
47 <dd><a href="telemetry.core.platform.posix_platform_backend.html#PosixPlatformBa
ckend">PosixPlatformBackend</a></dd> | 53 <dd><a href="telemetry.core.platform.posix_platform_backend.html#PosixPlatformBa
ckend">PosixPlatformBackend</a></dd> |
| 54 <dd><a href="telemetry.core.platform.desktop_platform_backend.html#DesktopPlatfo
rmBackend">telemetry.core.platform.desktop_platform_backend.DesktopPlatformBacke
nd</a></dd> |
48 <dd><a href="telemetry.core.platform.platform_backend.html#PlatformBackend">tele
metry.core.platform.platform_backend.PlatformBackend</a></dd> | 55 <dd><a href="telemetry.core.platform.platform_backend.html#PlatformBackend">tele
metry.core.platform.platform_backend.PlatformBackend</a></dd> |
49 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> | 56 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
50 </dl> | 57 </dl> |
51 <hr> | 58 <hr> |
52 Methods defined here:<br> | 59 Methods defined here:<br> |
| 60 <dl><dt><a name="PosixPlatformBackend-CanLaunchApplication"><strong>CanLaunchApp
lication</strong></a>(self, application)</dt></dl> |
| 61 |
53 <dl><dt><a name="PosixPlatformBackend-GetChildPids"><strong>GetChildPids</strong
></a>(self, pid)</dt><dd><tt>Returns a list of child pi
ds of |pid|.</tt></dd></dl> | 62 <dl><dt><a name="PosixPlatformBackend-GetChildPids"><strong>GetChildPids</strong
></a>(self, pid)</dt><dd><tt>Returns a list of child pi
ds of |pid|.</tt></dd></dl> |
54 | 63 |
55 <dl><dt><a name="PosixPlatformBackend-GetCommandLine"><strong>GetCommandLine</st
rong></a>(self, pid)</dt></dl> | 64 <dl><dt><a name="PosixPlatformBackend-GetCommandLine"><strong>GetCommandLine</st
rong></a>(self, pid)</dt></dl> |
56 | 65 |
| 66 <dl><dt><a name="PosixPlatformBackend-GetFlushUtilityName"><strong>GetFlushUtili
tyName</strong></a>(self)</dt></dl> |
| 67 |
| 68 <dl><dt><a name="PosixPlatformBackend-LaunchApplication"><strong>LaunchApplicati
on</strong></a>(self, application, parameters<font color="#909090">=None</font>,
elevate_privilege<font color="#909090">=False</font>)</dt></dl> |
| 69 |
| 70 <hr> |
| 71 Methods inherited from <a href="telemetry.core.platform.desktop_platform_backend
.html#DesktopPlatformBackend">telemetry.core.platform.desktop_platform_backend.D
esktopPlatformBackend</a>:<br> |
| 72 <dl><dt><a name="PosixPlatformBackend-FlushSystemCacheForDirectory"><strong>Flus
hSystemCacheForDirectory</strong></a>(self, directory, ignoring<font color="#909
090">=None</font>)</dt></dl> |
| 73 |
57 <hr> | 74 <hr> |
58 Methods inherited from <a href="telemetry.core.platform.platform_backend.html#Pl
atformBackend">telemetry.core.platform.platform_backend.PlatformBackend</a>:<br> | 75 Methods inherited from <a href="telemetry.core.platform.platform_backend.html#Pl
atformBackend">telemetry.core.platform.platform_backend.PlatformBackend</a>:<br> |
| 76 <dl><dt><a name="PosixPlatformBackend-CanCaptureVideo"><strong>CanCaptureVideo</
strong></a>(self)</dt></dl> |
| 77 |
| 78 <dl><dt><a name="PosixPlatformBackend-CanFlushIndividualFilesFromSystemCache"><s
trong>CanFlushIndividualFilesFromSystemCache</strong></a>(self)</dt></dl> |
| 79 |
| 80 <dl><dt><a name="PosixPlatformBackend-CanMonitorPowerAsync"><strong>CanMonitorPo
werAsync</strong></a>(self)</dt></dl> |
| 81 |
| 82 <dl><dt><a name="PosixPlatformBackend-CanMonitorPowerSync"><strong>CanMonitorPow
erSync</strong></a>(self)</dt></dl> |
| 83 |
59 <dl><dt><a name="PosixPlatformBackend-CanMonitorThermalThrottling"><strong>CanMo
nitorThermalThrottling</strong></a>(self)</dt></dl> | 84 <dl><dt><a name="PosixPlatformBackend-CanMonitorThermalThrottling"><strong>CanMo
nitorThermalThrottling</strong></a>(self)</dt></dl> |
60 | 85 |
| 86 <dl><dt><a name="PosixPlatformBackend-FlushEntireSystemCache"><strong>FlushEntir
eSystemCache</strong></a>(self)</dt></dl> |
| 87 |
| 88 <dl><dt><a name="PosixPlatformBackend-GetCpuStats"><strong>GetCpuStats</strong><
/a>(self, pid)</dt></dl> |
| 89 |
| 90 <dl><dt><a name="PosixPlatformBackend-GetCpuTimestamp"><strong>GetCpuTimestamp</
strong></a>(self)</dt></dl> |
| 91 |
61 <dl><dt><a name="PosixPlatformBackend-GetIOStats"><strong>GetIOStats</strong></a
>(self, pid)</dt></dl> | 92 <dl><dt><a name="PosixPlatformBackend-GetIOStats"><strong>GetIOStats</strong></a
>(self, pid)</dt></dl> |
62 | 93 |
63 <dl><dt><a name="PosixPlatformBackend-GetMemoryStats"><strong>GetMemoryStats</st
rong></a>(self, pid)</dt></dl> | 94 <dl><dt><a name="PosixPlatformBackend-GetMemoryStats"><strong>GetMemoryStats</st
rong></a>(self, pid)</dt></dl> |
64 | 95 |
65 <dl><dt><a name="PosixPlatformBackend-GetOSName"><strong>GetOSName</strong></a>(
self)</dt></dl> | 96 <dl><dt><a name="PosixPlatformBackend-GetOSName"><strong>GetOSName</strong></a>(
self)</dt></dl> |
66 | 97 |
67 <dl><dt><a name="PosixPlatformBackend-GetOSVersionName"><strong>GetOSVersionName
</strong></a>(self)</dt></dl> | 98 <dl><dt><a name="PosixPlatformBackend-GetOSVersionName"><strong>GetOSVersionName
</strong></a>(self)</dt></dl> |
68 | 99 |
69 <dl><dt><a name="PosixPlatformBackend-GetRawDisplayFrameRateMeasurements"><stron
g>GetRawDisplayFrameRateMeasurements</strong></a>(self)</dt></dl> | 100 <dl><dt><a name="PosixPlatformBackend-GetRawDisplayFrameRateMeasurements"><stron
g>GetRawDisplayFrameRateMeasurements</strong></a>(self)</dt></dl> |
70 | 101 |
71 <dl><dt><a name="PosixPlatformBackend-GetSystemCommitCharge"><strong>GetSystemCo
mmitCharge</strong></a>(self)</dt></dl> | 102 <dl><dt><a name="PosixPlatformBackend-GetSystemCommitCharge"><strong>GetSystemCo
mmitCharge</strong></a>(self)</dt></dl> |
72 | 103 |
| 104 <dl><dt><a name="PosixPlatformBackend-GetSystemTotalPhysicalMemory"><strong>GetS
ystemTotalPhysicalMemory</strong></a>(self)</dt></dl> |
| 105 |
73 <dl><dt><a name="PosixPlatformBackend-HasBeenThermallyThrottled"><strong>HasBeen
ThermallyThrottled</strong></a>(self)</dt></dl> | 106 <dl><dt><a name="PosixPlatformBackend-HasBeenThermallyThrottled"><strong>HasBeen
ThermallyThrottled</strong></a>(self)</dt></dl> |
74 | 107 |
| 108 <dl><dt><a name="PosixPlatformBackend-InstallApplication"><strong>InstallApplica
tion</strong></a>(self, application)</dt></dl> |
| 109 |
| 110 <dl><dt><a name="PosixPlatformBackend-IsApplicationRunning"><strong>IsApplicatio
nRunning</strong></a>(self, application)</dt></dl> |
| 111 |
75 <dl><dt><a name="PosixPlatformBackend-IsRawDisplayFrameRateSupported"><strong>Is
RawDisplayFrameRateSupported</strong></a>(self)</dt></dl> | 112 <dl><dt><a name="PosixPlatformBackend-IsRawDisplayFrameRateSupported"><strong>Is
RawDisplayFrameRateSupported</strong></a>(self)</dt></dl> |
76 | 113 |
77 <dl><dt><a name="PosixPlatformBackend-IsThermallyThrottled"><strong>IsThermallyT
hrottled</strong></a>(self)</dt></dl> | 114 <dl><dt><a name="PosixPlatformBackend-IsThermallyThrottled"><strong>IsThermallyT
hrottled</strong></a>(self)</dt></dl> |
78 | 115 |
| 116 <dl><dt><a name="PosixPlatformBackend-MonitorPowerSync"><strong>MonitorPowerSync
</strong></a>(self, duration_ms)</dt></dl> |
| 117 |
| 118 <dl><dt><a name="PosixPlatformBackend-PurgeUnpinnedMemory"><strong>PurgeUnpinned
Memory</strong></a>(self)</dt></dl> |
| 119 |
79 <dl><dt><a name="PosixPlatformBackend-SetFullPerformanceModeEnabled"><strong>Set
FullPerformanceModeEnabled</strong></a>(self, enabled)</dt></dl> | 120 <dl><dt><a name="PosixPlatformBackend-SetFullPerformanceModeEnabled"><strong>Set
FullPerformanceModeEnabled</strong></a>(self, enabled)</dt></dl> |
80 | 121 |
81 <dl><dt><a name="PosixPlatformBackend-StartRawDisplayFrameRateMeasurement"><stro
ng>StartRawDisplayFrameRateMeasurement</strong></a>(self)</dt><dd><tt># pyl
int: disable=W0613</tt></dd></dl> | 122 <dl><dt><a name="PosixPlatformBackend-StartMonitoringPowerAsync"><strong>StartMo
nitoringPowerAsync</strong></a>(self)</dt></dl> |
| 123 |
| 124 <dl><dt><a name="PosixPlatformBackend-StartRawDisplayFrameRateMeasurement"><stro
ng>StartRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl> |
| 125 |
| 126 <dl><dt><a name="PosixPlatformBackend-StartVideoCapture"><strong>StartVideoCaptu
re</strong></a>(self, min_bitrate_mbps)</dt></dl> |
| 127 |
| 128 <dl><dt><a name="PosixPlatformBackend-StopMonitoringPowerAsync"><strong>StopMoni
toringPowerAsync</strong></a>(self)</dt></dl> |
82 | 129 |
83 <dl><dt><a name="PosixPlatformBackend-StopRawDisplayFrameRateMeasurement"><stron
g>StopRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl> | 130 <dl><dt><a name="PosixPlatformBackend-StopRawDisplayFrameRateMeasurement"><stron
g>StopRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl> |
84 | 131 |
| 132 <dl><dt><a name="PosixPlatformBackend-StopVideoCapture"><strong>StopVideoCapture
</strong></a>(self)</dt></dl> |
| 133 |
85 <hr> | 134 <hr> |
86 Data descriptors inherited from <a href="telemetry.core.platform.platform_backen
d.html#PlatformBackend">telemetry.core.platform.platform_backend.PlatformBackend
</a>:<br> | 135 Data descriptors inherited from <a href="telemetry.core.platform.platform_backen
d.html#PlatformBackend">telemetry.core.platform.platform_backend.PlatformBackend
</a>:<br> |
87 <dl><dt><strong>__dict__</strong></dt> | 136 <dl><dt><strong>__dict__</strong></dt> |
88 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | 137 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> |
89 </dl> | 138 </dl> |
90 <dl><dt><strong>__weakref__</strong></dt> | 139 <dl><dt><strong>__weakref__</strong></dt> |
91 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | 140 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
92 </dl> | 141 </dl> |
| 142 <dl><dt><strong>is_video_capture_running</strong></dt> |
| 143 </dl> |
93 </td></tr></table></td></tr></table> | 144 </td></tr></table></td></tr></table> |
94 </body></html> | 145 </body></html> |
OLD | NEW |