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.win_platform_backend</
title> | 3 <html><head><title>Python: module telemetry.core.platform.win_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>.win_platform_backend</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.platfo
rm.html"><font color="#ffffff">platform</font></a>.win_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/win_platform_backend.py">telemetry/core/platform/win
_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/win_platform_backend.py">telemetry/core/platform/win
_platform_backend.py</a></font></td></tr></table> |
12 <p><tt># Copyright (c) 2013 The Chromium Autho
rs. All rights reserved.<br> | 12 <p><tt># Copyright (c) 2013 The Chromium Autho
rs. 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="collections.html">collections</a><br> | 22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="collections.html">collections</a><br> |
23 <a href="ctypes.html">ctypes</a><br> | 23 <a href="ctypes.html">ctypes</a><br> |
24 </td><td width="25%" valign=top><a href="os.html">os</a><br> | 24 <a href="telemetry.decorators.html">telemetry.decorators</a><br> |
25 <a href="telemetry.core.platform.platform_backend.html">telemetry.core.platform.
platform_backend</a><br> | 25 </td><td width="25%" valign=top><a href="telemetry.core.platform.desktop_platfor
m_backend.html">telemetry.core.platform.desktop_platform_backend</a><br> |
26 </td><td width="25%" valign=top><a href="re.html">re</a><br> | 26 <a href="telemetry.core.exceptions.html">telemetry.core.exceptions</a><br> |
| 27 <a href="platform.html">platform</a><br> |
| 28 </td><td width="25%" valign=top><a href="telemetry.core.platform.platform_backen
d.html">telemetry.core.platform.platform_backend</a><br> |
| 29 <a href="re.html">re</a><br> |
27 <a href="subprocess.html">subprocess</a><br> | 30 <a href="subprocess.html">subprocess</a><br> |
28 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> | 31 </td><td width="25%" valign=top><a href="time.html">time</a><br> |
| 32 </td></tr></table></td></tr></table><p> |
29 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 33 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
30 <tr bgcolor="#ee77aa"> | 34 <tr bgcolor="#ee77aa"> |
31 <td colspan=3 valign=bottom> <br> | 35 <td colspan=3 valign=bottom> <br> |
32 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | 36 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> |
33 | 37 |
34 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | 38 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> |
35 <td width="100%"><dl> | 39 <td width="100%"><dl> |
36 <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>) | 40 <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>) |
37 </font></dt><dd> | 41 </font></dt><dd> |
38 <dl> | 42 <dl> |
39 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.win_platform_
backend.html#WinPlatformBackend">WinPlatformBackend</a> | 43 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.win_platform_
backend.html#WinPlatformBackend">WinPlatformBackend</a> |
40 </font></dt></dl> | 44 </font></dt></dl> |
41 </dd> | 45 </dd> |
42 </dl> | 46 </dl> |
43 <p> | 47 <p> |
44 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 48 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
45 <tr bgcolor="#ffc8d8"> | 49 <tr bgcolor="#ffc8d8"> |
46 <td colspan=3 valign=bottom> <br> | 50 <td colspan=3 valign=bottom> <br> |
47 <font color="#000000" face="helvetica, arial"><a name="WinPlatformBackend">class
<strong>WinPlatformBackend</strong></a>(<a href="telemetry.core.platform.platfo
rm_backend.html#PlatformBackend">telemetry.core.platform.platform_backend.Platfo
rmBackend</a>)</font></td></tr> | 51 <font color="#000000" face="helvetica, arial"><a name="WinPlatformBackend">class
<strong>WinPlatformBackend</strong></a>(<a href="telemetry.core.platform.deskto
p_platform_backend.html#DesktopPlatformBackend">telemetry.core.platform.desktop_
platform_backend.DesktopPlatformBackend</a>)</font></td></tr> |
48 | 52 |
49 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | 53 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
50 <td width="100%"><dl><dt>Method resolution order:</dt> | 54 <td width="100%"><dl><dt>Method resolution order:</dt> |
51 <dd><a href="telemetry.core.platform.win_platform_backend.html#WinPlatformBacken
d">WinPlatformBackend</a></dd> | 55 <dd><a href="telemetry.core.platform.win_platform_backend.html#WinPlatformBacken
d">WinPlatformBackend</a></dd> |
| 56 <dd><a href="telemetry.core.platform.desktop_platform_backend.html#DesktopPlatfo
rmBackend">telemetry.core.platform.desktop_platform_backend.DesktopPlatformBacke
nd</a></dd> |
52 <dd><a href="telemetry.core.platform.platform_backend.html#PlatformBackend">tele
metry.core.platform.platform_backend.PlatformBackend</a></dd> | 57 <dd><a href="telemetry.core.platform.platform_backend.html#PlatformBackend">tele
metry.core.platform.platform_backend.PlatformBackend</a></dd> |
53 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> | 58 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
54 </dl> | 59 </dl> |
55 <hr> | 60 <hr> |
56 Methods defined here:<br> | 61 Methods defined here:<br> |
| 62 <dl><dt><a name="WinPlatformBackend-CanFlushIndividualFilesFromSystemCache"><str
ong>CanFlushIndividualFilesFromSystemCache</strong></a>(self)</dt></dl> |
| 63 |
57 <dl><dt><a name="WinPlatformBackend-GetChildPids"><strong>GetChildPids</strong><
/a>(self, pid)</dt><dd><tt>Retunds a list of child pids
of |pid|.</tt></dd></dl> | 64 <dl><dt><a name="WinPlatformBackend-GetChildPids"><strong>GetChildPids</strong><
/a>(self, pid)</dt><dd><tt>Retunds a list of child pids
of |pid|.</tt></dd></dl> |
58 | 65 |
59 <dl><dt><a name="WinPlatformBackend-GetCommandLine"><strong>GetCommandLine</stro
ng></a>(self, pid)</dt></dl> | 66 <dl><dt><a name="WinPlatformBackend-GetCommandLine"><strong>GetCommandLine</stro
ng></a>(self, pid)</dt></dl> |
60 | 67 |
| 68 <dl><dt><a name="WinPlatformBackend-GetCpuStats"><strong>GetCpuStats</strong></a
>(self, pid)</dt></dl> |
| 69 |
| 70 <dl><dt><a name="WinPlatformBackend-GetCpuTimestamp"><strong>GetCpuTimestamp</st
rong></a>(self)</dt><dd><tt>Return current timestamp in seco
nds.</tt></dd></dl> |
| 71 |
| 72 <dl><dt><a name="WinPlatformBackend-GetFlushUtilityName"><strong>GetFlushUtility
Name</strong></a>(self)</dt></dl> |
| 73 |
61 <dl><dt><a name="WinPlatformBackend-GetIOStats"><strong>GetIOStats</strong></a>(
self, pid)</dt></dl> | 74 <dl><dt><a name="WinPlatformBackend-GetIOStats"><strong>GetIOStats</strong></a>(
self, pid)</dt></dl> |
62 | 75 |
63 <dl><dt><a name="WinPlatformBackend-GetMemoryStats"><strong>GetMemoryStats</stro
ng></a>(self, pid)</dt></dl> | 76 <dl><dt><a name="WinPlatformBackend-GetMemoryStats"><strong>GetMemoryStats</stro
ng></a>(self, pid)</dt></dl> |
64 | 77 |
65 <dl><dt><a name="WinPlatformBackend-GetOSName"><strong>GetOSName</strong></a>(se
lf)</dt></dl> | 78 <dl><dt><a name="WinPlatformBackend-GetOSName"><strong>GetOSName</strong></a>(se
lf)</dt></dl> |
66 | 79 |
67 <dl><dt><a name="WinPlatformBackend-GetOSVersionName"><strong>GetOSVersionName</
strong></a>(self)</dt></dl> | 80 <dl><dt><a name="WinPlatformBackend-GetOSVersionName"><strong>GetOSVersionName</
strong></a>(*args, **kwargs)</dt></dl> |
68 | 81 |
69 <dl><dt><a name="WinPlatformBackend-GetRawDisplayFrameRateMeasurements"><strong>
GetRawDisplayFrameRateMeasurements</strong></a>(self)</dt></dl> | 82 <dl><dt><a name="WinPlatformBackend-GetRawDisplayFrameRateMeasurements"><strong>
GetRawDisplayFrameRateMeasurements</strong></a>(self)</dt></dl> |
70 | 83 |
71 <dl><dt><a name="WinPlatformBackend-GetSystemCommitCharge"><strong>GetSystemComm
itCharge</strong></a>(self)</dt></dl> | 84 <dl><dt><a name="WinPlatformBackend-GetSystemCommitCharge"><strong>GetSystemComm
itCharge</strong></a>(self)</dt></dl> |
72 | 85 |
| 86 <dl><dt><a name="WinPlatformBackend-GetSystemProcessInfo"><strong>GetSystemProce
ssInfo</strong></a>(self)</dt></dl> |
| 87 |
| 88 <dl><dt><a name="WinPlatformBackend-GetSystemTotalPhysicalMemory"><strong>GetSys
temTotalPhysicalMemory</strong></a>(*args, **kwargs)</dt></dl> |
| 89 |
73 <dl><dt><a name="WinPlatformBackend-HasBeenThermallyThrottled"><strong>HasBeenTh
ermallyThrottled</strong></a>(self)</dt></dl> | 90 <dl><dt><a name="WinPlatformBackend-HasBeenThermallyThrottled"><strong>HasBeenTh
ermallyThrottled</strong></a>(self)</dt></dl> |
74 | 91 |
75 <dl><dt><a name="WinPlatformBackend-IsThermallyThrottled"><strong>IsThermallyThr
ottled</strong></a>(self)</dt></dl> | 92 <dl><dt><a name="WinPlatformBackend-IsThermallyThrottled"><strong>IsThermallyThr
ottled</strong></a>(self)</dt></dl> |
76 | 93 |
| 94 <dl><dt><a name="WinPlatformBackend-KillProcess"><strong>KillProcess</strong></a
>(self, pid, kill_process_tree<font color="#909090">=False</font>)</dt></dl> |
| 95 |
77 <dl><dt><a name="WinPlatformBackend-StartRawDisplayFrameRateMeasurement"><strong
>StartRawDisplayFrameRateMeasurement</strong></a>(self)</dt><dd><tt># pylin
t: disable=W0613</tt></dd></dl> | 96 <dl><dt><a name="WinPlatformBackend-StartRawDisplayFrameRateMeasurement"><strong
>StartRawDisplayFrameRateMeasurement</strong></a>(self)</dt><dd><tt># pylin
t: disable=W0613</tt></dd></dl> |
78 | 97 |
79 <dl><dt><a name="WinPlatformBackend-StopRawDisplayFrameRateMeasurement"><strong>
StopRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl> | 98 <dl><dt><a name="WinPlatformBackend-StopRawDisplayFrameRateMeasurement"><strong>
StopRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl> |
80 | 99 |
81 <hr> | 100 <hr> |
| 101 Methods inherited from <a href="telemetry.core.platform.desktop_platform_backend
.html#DesktopPlatformBackend">telemetry.core.platform.desktop_platform_backend.D
esktopPlatformBackend</a>:<br> |
| 102 <dl><dt><a name="WinPlatformBackend-FlushSystemCacheForDirectory"><strong>FlushS
ystemCacheForDirectory</strong></a>(self, directory, ignoring<font color="#90909
0">=None</font>)</dt></dl> |
| 103 |
| 104 <hr> |
82 Methods inherited from <a href="telemetry.core.platform.platform_backend.html#Pl
atformBackend">telemetry.core.platform.platform_backend.PlatformBackend</a>:<br> | 105 Methods inherited from <a href="telemetry.core.platform.platform_backend.html#Pl
atformBackend">telemetry.core.platform.platform_backend.PlatformBackend</a>:<br> |
| 106 <dl><dt><a name="WinPlatformBackend-CanCaptureVideo"><strong>CanCaptureVideo</st
rong></a>(self)</dt></dl> |
| 107 |
| 108 <dl><dt><a name="WinPlatformBackend-CanLaunchApplication"><strong>CanLaunchAppli
cation</strong></a>(self, application)</dt></dl> |
| 109 |
| 110 <dl><dt><a name="WinPlatformBackend-CanMonitorPowerAsync"><strong>CanMonitorPowe
rAsync</strong></a>(self)</dt></dl> |
| 111 |
| 112 <dl><dt><a name="WinPlatformBackend-CanMonitorPowerSync"><strong>CanMonitorPower
Sync</strong></a>(self)</dt></dl> |
| 113 |
83 <dl><dt><a name="WinPlatformBackend-CanMonitorThermalThrottling"><strong>CanMoni
torThermalThrottling</strong></a>(self)</dt></dl> | 114 <dl><dt><a name="WinPlatformBackend-CanMonitorThermalThrottling"><strong>CanMoni
torThermalThrottling</strong></a>(self)</dt></dl> |
84 | 115 |
| 116 <dl><dt><a name="WinPlatformBackend-FlushEntireSystemCache"><strong>FlushEntireS
ystemCache</strong></a>(self)</dt></dl> |
| 117 |
| 118 <dl><dt><a name="WinPlatformBackend-InstallApplication"><strong>InstallApplicati
on</strong></a>(self, application)</dt></dl> |
| 119 |
| 120 <dl><dt><a name="WinPlatformBackend-IsApplicationRunning"><strong>IsApplicationR
unning</strong></a>(self, application)</dt></dl> |
| 121 |
85 <dl><dt><a name="WinPlatformBackend-IsRawDisplayFrameRateSupported"><strong>IsRa
wDisplayFrameRateSupported</strong></a>(self)</dt></dl> | 122 <dl><dt><a name="WinPlatformBackend-IsRawDisplayFrameRateSupported"><strong>IsRa
wDisplayFrameRateSupported</strong></a>(self)</dt></dl> |
86 | 123 |
| 124 <dl><dt><a name="WinPlatformBackend-LaunchApplication"><strong>LaunchApplication
</strong></a>(self, application, parameters<font color="#909090">=None</font>, e
levate_privilege<font color="#909090">=False</font>)</dt></dl> |
| 125 |
| 126 <dl><dt><a name="WinPlatformBackend-MonitorPowerSync"><strong>MonitorPowerSync</
strong></a>(self, duration_ms)</dt></dl> |
| 127 |
| 128 <dl><dt><a name="WinPlatformBackend-PurgeUnpinnedMemory"><strong>PurgeUnpinnedMe
mory</strong></a>(self)</dt></dl> |
| 129 |
87 <dl><dt><a name="WinPlatformBackend-SetFullPerformanceModeEnabled"><strong>SetFu
llPerformanceModeEnabled</strong></a>(self, enabled)</dt></dl> | 130 <dl><dt><a name="WinPlatformBackend-SetFullPerformanceModeEnabled"><strong>SetFu
llPerformanceModeEnabled</strong></a>(self, enabled)</dt></dl> |
88 | 131 |
| 132 <dl><dt><a name="WinPlatformBackend-StartMonitoringPowerAsync"><strong>StartMoni
toringPowerAsync</strong></a>(self)</dt></dl> |
| 133 |
| 134 <dl><dt><a name="WinPlatformBackend-StartVideoCapture"><strong>StartVideoCapture
</strong></a>(self, min_bitrate_mbps)</dt></dl> |
| 135 |
| 136 <dl><dt><a name="WinPlatformBackend-StopMonitoringPowerAsync"><strong>StopMonito
ringPowerAsync</strong></a>(self)</dt></dl> |
| 137 |
| 138 <dl><dt><a name="WinPlatformBackend-StopVideoCapture"><strong>StopVideoCapture</
strong></a>(self)</dt></dl> |
| 139 |
89 <hr> | 140 <hr> |
90 Data descriptors inherited from <a href="telemetry.core.platform.platform_backen
d.html#PlatformBackend">telemetry.core.platform.platform_backend.PlatformBackend
</a>:<br> | 141 Data descriptors inherited from <a href="telemetry.core.platform.platform_backen
d.html#PlatformBackend">telemetry.core.platform.platform_backend.PlatformBackend
</a>:<br> |
91 <dl><dt><strong>__dict__</strong></dt> | 142 <dl><dt><strong>__dict__</strong></dt> |
92 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | 143 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> |
93 </dl> | 144 </dl> |
94 <dl><dt><strong>__weakref__</strong></dt> | 145 <dl><dt><strong>__weakref__</strong></dt> |
95 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | 146 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
96 </dl> | 147 </dl> |
| 148 <dl><dt><strong>is_video_capture_running</strong></dt> |
| 149 </dl> |
97 </td></tr></table></td></tr></table><p> | 150 </td></tr></table></td></tr></table><p> |
98 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 151 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
99 <tr bgcolor="#55aa55"> | 152 <tr bgcolor="#55aa55"> |
100 <td colspan=3 valign=bottom> <br> | 153 <td colspan=3 valign=bottom> <br> |
101 <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></
font></td></tr> | 154 <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></
font></td></tr> |
102 | 155 |
103 <tr><td bgcolor="#55aa55"><tt> </tt></td><td>
</td> | 156 <tr><td bgcolor="#55aa55"><tt> </tt></td><td>
</td> |
104 <td width="100%"><strong>pywintypes</strong> = None<br> | 157 <td width="100%"><strong>pywintypes</strong> = None<br> |
105 <strong>win32api</strong> = None<br> | 158 <strong>win32api</strong> = None<br> |
106 <strong>win32con</strong> = None<br> | 159 <strong>win32con</strong> = None<br> |
107 <strong>win32process</strong> = None</td></tr></table> | 160 <strong>win32process</strong> = None</td></tr></table> |
108 </body></html> | 161 </body></html> |
OLD | NEW |