telemetry.internal.platform.power_monitor | index telemetry/internal/platform/power_monitor/__init__.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.`

Package Contents
`` |  |

android_dumpsys_power_monitor android_dumpsys_power_monitor_unittest android_fuelgauge_power_monitor android_fuelgauge_power_monitor_unittest android_temperature_monitor
android_temperature_monitor_unittest
cros_power_monitor
cros_power_monitor_unittest
monsoon_power_monitor
monsoon_power_monitor_unittest
msr_power_monitor
msr_power_monitor_unittest
power_monitor_controller
power_monitor_controller_unittest
powermetrics_power_monitor
powermetrics_power_monitor_unittest
sysfs_power_monitor
sysfs_power_monitor_unittest

Classes
`` |  |

__builtin__.object
  PowerMonitor

class PowerMonitor(__builtin__.object)
`` | `A power profiler. Provides an interface to register power consumption during a test.`
| Methods defined here:

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.`

CanMonitorPower(self)
  `Returns True iff power can be monitored asynchronously via
  StartMonitoringPower() and StopMonitoringPower().`

StartMonitoringPower(self, browser)
  `Starts monitoring power utilization statistics.
  See Platform#StartMonitoringPower for the arguments format.`

StopMonitoringPower(self)
  `Stops monitoring power utilization and returns collects stats
  See Platform#StopMonitoringPower for the return format.`

Data descriptors defined here:

__dict__
  `dictionary for instance variables (if defined)`

__weakref__
  `list of weak references to the object (if defined)`