telemetry.core.platform.mac_platform_backend
index
telemetry/core/platform/mac_platform_backend.py

# Copyright (c) 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

 
Modules
       
ctypes
telemetry.decorators
os
telemetry.core.platform.platform_backend
telemetry.core.platform.posix_platform_backend
telemetry.core.platform.power_monitor.powermetrics_power_monitor
resource
time

 
Classes
       
telemetry.core.platform.posix_platform_backend.PosixPlatformBackend(telemetry.core.platform.desktop_platform_backend.DesktopPlatformBackend)
MacPlatformBackend

 
class MacPlatformBackend(telemetry.core.platform.posix_platform_backend.PosixPlatformBackend)
    
Method resolution order:
MacPlatformBackend
telemetry.core.platform.posix_platform_backend.PosixPlatformBackend
telemetry.core.platform.desktop_platform_backend.DesktopPlatformBackend
telemetry.core.platform.platform_backend.PlatformBackend
__builtin__.object

Methods defined here:
CanFlushIndividualFilesFromSystemCache(self)
CanMonitorPowerAsync(self)
FlushEntireSystemCache(self)
GetCpuStats(self, pid)
Return current cpu processing time of pid in seconds.
GetCpuTimestamp(self)
Return current timestamp in seconds.
GetMemoryStats(self, pid)
GetOSName(self)
GetOSVersionName(*args, **kwargs)
GetRawDisplayFrameRateMeasurements(self)
GetSystemCommitCharge(self)
GetSystemTotalPhysicalMemory(*args, **kwargs)
HasBeenThermallyThrottled(self)
IsThermallyThrottled(self)
PurgeUnpinnedMemory(self)
StartMonitoringPowerAsync(self)
StartRawDisplayFrameRateMeasurement(self)
StopMonitoringPowerAsync(self)
StopRawDisplayFrameRateMeasurement(self)
__init__(self)

Methods inherited from telemetry.core.platform.posix_platform_backend.PosixPlatformBackend:
CanLaunchApplication(self, application)
GetChildPids(self, pid)
Returns a list of child pids of |pid|.
GetCommandLine(self, pid)
GetFlushUtilityName(self)
LaunchApplication(self, application, parameters=None, elevate_privilege=False)

Methods inherited from telemetry.core.platform.desktop_platform_backend.DesktopPlatformBackend:
FlushSystemCacheForDirectory(self, directory, ignoring=None)

Methods inherited from telemetry.core.platform.platform_backend.PlatformBackend:
CanCaptureVideo(self)
CanMonitorPowerSync(self)
CanMonitorThermalThrottling(self)
GetIOStats(self, pid)
InstallApplication(self, application)
IsApplicationRunning(self, application)
IsRawDisplayFrameRateSupported(self)
MonitorPowerSync(self, duration_ms)
SetFullPerformanceModeEnabled(self, enabled)
StartVideoCapture(self, min_bitrate_mbps)
StopVideoCapture(self)

Data descriptors inherited from telemetry.core.platform.platform_backend.PlatformBackend:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
is_video_capture_running

 
Data
        LEOPARD = 'leopard'
LION = 'lion'
MAVERICKS = 'mavericks'
MOUNTAINLION = 'mountainlion'
SNOWLEOPARD = 'snowleopard'