2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.core.platform.linux_platform_backend</title>
4 </head><body bgcolor="#f0f0f8">
6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
8 <td valign=bottom> <br>
9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.core.html"><font color="#ffffff">core</font></a>.<a href="telemetry.core.platform.html"><font color="#ffffff">platform</font></a>.linux_platform_backend</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/platform/linux_platform_backend.py">telemetry/core/platform/linux_platform_backend.py</a></font></td></tr></table>
12 <p><tt># Copyright (c) 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>
14 # found in the LICENSE file.</tt></p>
16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
17 <tr bgcolor="#aa55cc">
18 <td colspan=3 valign=bottom> <br>
19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
21 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="telemetry.page.cloud_storage.html">telemetry.page.cloud_storage</a><br>
23 <a href="telemetry.decorators.html">telemetry.decorators</a><br>
24 <a href="logging.html">logging</a><br>
25 </td><td width="25%" valign=top><a href="os.html">os</a><br>
26 <a href="telemetry.core.platform.platform_backend.html">telemetry.core.platform.platform_backend</a><br>
27 <a href="telemetry.core.platform.posix_platform_backend.html">telemetry.core.platform.posix_platform_backend</a><br>
28 </td><td width="25%" valign=top><a href="telemetry.core.platform.proc_supporting_platform_backend.html">telemetry.core.platform.proc_supporting_platform_backend</a><br>
29 <a href="subprocess.html">subprocess</a><br>
30 <a href="sys.html">sys</a><br>
31 </td><td width="25%" valign=top><a href="telemetry.core.util.html">telemetry.core.util</a><br>
32 </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> <br>
36 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
38 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
40 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.posix_platform_backend.html#PosixPlatformBackend">telemetry.core.platform.posix_platform_backend.PosixPlatformBackend</a>(<a href="telemetry.core.platform.desktop_platform_backend.html#DesktopPlatformBackend">telemetry.core.platform.desktop_platform_backend.DesktopPlatformBackend</a>)
43 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.linux_platform_backend.html#LinuxPlatformBackend">LinuxPlatformBackend</a>(<a href="telemetry.core.platform.posix_platform_backend.html#PosixPlatformBackend">telemetry.core.platform.posix_platform_backend.PosixPlatformBackend</a>, <a href="telemetry.core.platform.proc_supporting_platform_backend.html#ProcSupportingPlatformBackend">telemetry.core.platform.proc_supporting_platform_backend.ProcSupportingPlatformBackend</a>)
46 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.proc_supporting_platform_backend.html#ProcSupportingPlatformBackend">telemetry.core.platform.proc_supporting_platform_backend.ProcSupportingPlatformBackend</a>(<a href="telemetry.core.platform.platform_backend.html#PlatformBackend">telemetry.core.platform.platform_backend.PlatformBackend</a>)
49 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.linux_platform_backend.html#LinuxPlatformBackend">LinuxPlatformBackend</a>(<a href="telemetry.core.platform.posix_platform_backend.html#PosixPlatformBackend">telemetry.core.platform.posix_platform_backend.PosixPlatformBackend</a>, <a href="telemetry.core.platform.proc_supporting_platform_backend.html#ProcSupportingPlatformBackend">telemetry.core.platform.proc_supporting_platform_backend.ProcSupportingPlatformBackend</a>)
54 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
55 <tr bgcolor="#ffc8d8">
56 <td colspan=3 valign=bottom> <br>
57 <font color="#000000" face="helvetica, arial"><a name="LinuxPlatformBackend">class <strong>LinuxPlatformBackend</strong></a>(<a href="telemetry.core.platform.posix_platform_backend.html#PosixPlatformBackend">telemetry.core.platform.posix_platform_backend.PosixPlatformBackend</a>, <a href="telemetry.core.platform.proc_supporting_platform_backend.html#ProcSupportingPlatformBackend">telemetry.core.platform.proc_supporting_platform_backend.ProcSupportingPlatformBackend</a>)</font></td></tr>
59 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
60 <td width="100%"><dl><dt>Method resolution order:</dt>
61 <dd><a href="telemetry.core.platform.linux_platform_backend.html#LinuxPlatformBackend">LinuxPlatformBackend</a></dd>
62 <dd><a href="telemetry.core.platform.posix_platform_backend.html#PosixPlatformBackend">telemetry.core.platform.posix_platform_backend.PosixPlatformBackend</a></dd>
63 <dd><a href="telemetry.core.platform.desktop_platform_backend.html#DesktopPlatformBackend">telemetry.core.platform.desktop_platform_backend.DesktopPlatformBackend</a></dd>
64 <dd><a href="telemetry.core.platform.proc_supporting_platform_backend.html#ProcSupportingPlatformBackend">telemetry.core.platform.proc_supporting_platform_backend.ProcSupportingPlatformBackend</a></dd>
65 <dd><a href="telemetry.core.platform.platform_backend.html#PlatformBackend">telemetry.core.platform.platform_backend.PlatformBackend</a></dd>
66 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
69 Methods defined here:<br>
70 <dl><dt><a name="LinuxPlatformBackend-CanFlushIndividualFilesFromSystemCache"><strong>CanFlushIndividualFilesFromSystemCache</strong></a>(self)</dt></dl>
72 <dl><dt><a name="LinuxPlatformBackend-CanLaunchApplication"><strong>CanLaunchApplication</strong></a>(self, application)</dt></dl>
74 <dl><dt><a name="LinuxPlatformBackend-FlushEntireSystemCache"><strong>FlushEntireSystemCache</strong></a>(self)</dt></dl>
76 <dl><dt><a name="LinuxPlatformBackend-GetOSName"><strong>GetOSName</strong></a>(self)</dt></dl>
78 <dl><dt><a name="LinuxPlatformBackend-GetOSVersionName"><strong>GetOSVersionName</strong></a>(*args, **kwargs)</dt></dl>
80 <dl><dt><a name="LinuxPlatformBackend-GetRawDisplayFrameRateMeasurements"><strong>GetRawDisplayFrameRateMeasurements</strong></a>(self)</dt></dl>
82 <dl><dt><a name="LinuxPlatformBackend-HasBeenThermallyThrottled"><strong>HasBeenThermallyThrottled</strong></a>(self)</dt></dl>
84 <dl><dt><a name="LinuxPlatformBackend-InstallApplication"><strong>InstallApplication</strong></a>(self, application)</dt></dl>
86 <dl><dt><a name="LinuxPlatformBackend-IsThermallyThrottled"><strong>IsThermallyThrottled</strong></a>(self)</dt></dl>
88 <dl><dt><a name="LinuxPlatformBackend-StartRawDisplayFrameRateMeasurement"><strong>StartRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl>
90 <dl><dt><a name="LinuxPlatformBackend-StopRawDisplayFrameRateMeasurement"><strong>StopRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl>
93 Methods inherited from <a href="telemetry.core.platform.posix_platform_backend.html#PosixPlatformBackend">telemetry.core.platform.posix_platform_backend.PosixPlatformBackend</a>:<br>
94 <dl><dt><a name="LinuxPlatformBackend-GetChildPids"><strong>GetChildPids</strong></a>(self, pid)</dt><dd><tt>Returns a list of child pids of |pid|.</tt></dd></dl>
96 <dl><dt><a name="LinuxPlatformBackend-GetCommandLine"><strong>GetCommandLine</strong></a>(self, pid)</dt></dl>
98 <dl><dt><a name="LinuxPlatformBackend-GetFlushUtilityName"><strong>GetFlushUtilityName</strong></a>(self)</dt></dl>
100 <dl><dt><a name="LinuxPlatformBackend-LaunchApplication"><strong>LaunchApplication</strong></a>(self, application, parameters<font color="#909090">=None</font>, elevate_privilege<font color="#909090">=False</font>)</dt></dl>
103 Methods inherited from <a href="telemetry.core.platform.desktop_platform_backend.html#DesktopPlatformBackend">telemetry.core.platform.desktop_platform_backend.DesktopPlatformBackend</a>:<br>
104 <dl><dt><a name="LinuxPlatformBackend-FlushSystemCacheForDirectory"><strong>FlushSystemCacheForDirectory</strong></a>(self, directory, ignoring<font color="#909090">=None</font>)</dt></dl>
107 Methods inherited from <a href="telemetry.core.platform.proc_supporting_platform_backend.html#ProcSupportingPlatformBackend">telemetry.core.platform.proc_supporting_platform_backend.ProcSupportingPlatformBackend</a>:<br>
108 <dl><dt><a name="LinuxPlatformBackend-GetCpuStats"><strong>GetCpuStats</strong></a>(self, pid)</dt></dl>
110 <dl><dt><a name="LinuxPlatformBackend-GetCpuTimestamp"><strong>GetCpuTimestamp</strong></a>(self)</dt></dl>
112 <dl><dt><a name="LinuxPlatformBackend-GetIOStats"><strong>GetIOStats</strong></a>(self, pid)</dt></dl>
114 <dl><dt><a name="LinuxPlatformBackend-GetMemoryStats"><strong>GetMemoryStats</strong></a>(self, pid)</dt></dl>
116 <dl><dt><a name="LinuxPlatformBackend-GetSystemCommitCharge"><strong>GetSystemCommitCharge</strong></a>(self)</dt></dl>
118 <dl><dt><a name="LinuxPlatformBackend-GetSystemTotalPhysicalMemory"><strong>GetSystemTotalPhysicalMemory</strong></a>(*args, **kwargs)</dt></dl>
121 Methods inherited from <a href="telemetry.core.platform.platform_backend.html#PlatformBackend">telemetry.core.platform.platform_backend.PlatformBackend</a>:<br>
122 <dl><dt><a name="LinuxPlatformBackend-CanCaptureVideo"><strong>CanCaptureVideo</strong></a>(self)</dt></dl>
124 <dl><dt><a name="LinuxPlatformBackend-CanMonitorPowerAsync"><strong>CanMonitorPowerAsync</strong></a>(self)</dt></dl>
126 <dl><dt><a name="LinuxPlatformBackend-CanMonitorPowerSync"><strong>CanMonitorPowerSync</strong></a>(self)</dt></dl>
128 <dl><dt><a name="LinuxPlatformBackend-CanMonitorThermalThrottling"><strong>CanMonitorThermalThrottling</strong></a>(self)</dt></dl>
130 <dl><dt><a name="LinuxPlatformBackend-IsApplicationRunning"><strong>IsApplicationRunning</strong></a>(self, application)</dt></dl>
132 <dl><dt><a name="LinuxPlatformBackend-IsRawDisplayFrameRateSupported"><strong>IsRawDisplayFrameRateSupported</strong></a>(self)</dt></dl>
134 <dl><dt><a name="LinuxPlatformBackend-MonitorPowerSync"><strong>MonitorPowerSync</strong></a>(self, duration_ms)</dt></dl>
136 <dl><dt><a name="LinuxPlatformBackend-PurgeUnpinnedMemory"><strong>PurgeUnpinnedMemory</strong></a>(self)</dt></dl>
138 <dl><dt><a name="LinuxPlatformBackend-SetFullPerformanceModeEnabled"><strong>SetFullPerformanceModeEnabled</strong></a>(self, enabled)</dt></dl>
140 <dl><dt><a name="LinuxPlatformBackend-StartMonitoringPowerAsync"><strong>StartMonitoringPowerAsync</strong></a>(self)</dt></dl>
142 <dl><dt><a name="LinuxPlatformBackend-StartVideoCapture"><strong>StartVideoCapture</strong></a>(self, min_bitrate_mbps)</dt></dl>
144 <dl><dt><a name="LinuxPlatformBackend-StopMonitoringPowerAsync"><strong>StopMonitoringPowerAsync</strong></a>(self)</dt></dl>
146 <dl><dt><a name="LinuxPlatformBackend-StopVideoCapture"><strong>StopVideoCapture</strong></a>(self)</dt></dl>
149 Data descriptors inherited from <a href="telemetry.core.platform.platform_backend.html#PlatformBackend">telemetry.core.platform.platform_backend.PlatformBackend</a>:<br>
150 <dl><dt><strong>__dict__</strong></dt>
151 <dd><tt>dictionary for instance variables (if defined)</tt></dd>
153 <dl><dt><strong>__weakref__</strong></dt>
154 <dd><tt>list of weak references to the object (if defined)</tt></dd>
156 <dl><dt><strong>is_video_capture_running</strong></dt>
158 </td></tr></table></td></tr></table>