telemetry.internal.platform.power_monitor.msr_power_monitor
index
telemetry/internal/platform/power_monitor/msr_power_monitor.py

# Copyright 2014 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
       
telemetry.decorators
logging
platform
telemetry.internal.platform.power_monitor
re

 
Classes
       
telemetry.internal.platform.power_monitor.PowerMonitor(__builtin__.object)
MsrPowerMonitor
MsrPowerMonitorLinux
MsrPowerMonitorWin

 
class MsrPowerMonitor(telemetry.internal.platform.power_monitor.PowerMonitor)
    
Method resolution order:
MsrPowerMonitor
telemetry.internal.platform.power_monitor.PowerMonitor
__builtin__.object

Methods defined here:
CanMonitorPower(self)
StartMonitoringPower(self, browser)
StopMonitoringPower(self)
__init__(self, backend)

Methods inherited from telemetry.internal.platform.power_monitor.PowerMonitor:
CanMeasurePerApplicationPower(self)
Returns True if the power monitor can measure power for the target
application in isolation. False if power measurement is for full system
energy consumption.

Data descriptors inherited from telemetry.internal.platform.power_monitor.PowerMonitor:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class MsrPowerMonitorLinux(MsrPowerMonitor)
    
Method resolution order:
MsrPowerMonitorLinux
MsrPowerMonitor
telemetry.internal.platform.power_monitor.PowerMonitor
__builtin__.object

Methods defined here:
CanMonitorPower(self)

Methods inherited from MsrPowerMonitor:
StartMonitoringPower(self, browser)
StopMonitoringPower(self)
__init__(self, backend)

Methods inherited from telemetry.internal.platform.power_monitor.PowerMonitor:
CanMeasurePerApplicationPower(self)
Returns True if the power monitor can measure power for the target
application in isolation. False if power measurement is for full system
energy consumption.

Data descriptors inherited from telemetry.internal.platform.power_monitor.PowerMonitor:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class MsrPowerMonitorWin(MsrPowerMonitor)
    
Method resolution order:
MsrPowerMonitorWin
MsrPowerMonitor
telemetry.internal.platform.power_monitor.PowerMonitor
__builtin__.object

Methods defined here:
CanMonitorPower(self)
StopMonitoringPower(self)

Methods inherited from MsrPowerMonitor:
StartMonitoringPower(self, browser)
__init__(self, backend)

Methods inherited from telemetry.internal.platform.power_monitor.PowerMonitor:
CanMeasurePerApplicationPower(self)
Returns True if the power monitor can measure power for the target
application in isolation. False if power measurement is for full system
energy consumption.

Data descriptors inherited from telemetry.internal.platform.power_monitor.PowerMonitor:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        IA32_PACKAGE_THERM_STATUS = 433
IA32_TEMPERATURE_TARGET = 418
MSR_DRAM_ENERGY_STATUS = 1561
MSR_PKG_ENERGY_STATUS = 1553
MSR_PP0_ENERGY_STATUS = 1593
MSR_PP1_ENERGY_STATUS = 1601
MSR_RAPL_POWER_UNIT = 1542