Python: module telemetry.internal.platform.power_monitor.powermetrics_power_monitor

telemetry.internal.platform.power_monitor.powermetrics_power_monitor | index telemetry/internal/platform/power_monitor/powermetrics_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
`` |  |
collections telemetry.decorators logging | os telemetry.core.os_version plistlib | telemetry.internal.platform.power_monitor shutil tempfile | telemetry.core.util xml

Classes
`` |  | telemetry.internal.platform.power_monitor.PowerMonitor(__builtin__.object) PowerMetricsPowerMonitor
class PowerMetricsPowerMonitor(telemetry.internal.platform.power_monitor.PowerMonitor)
`` |  | Method resolution order: PowerMetricsPowerMonitor telemetry.internal.platform.power_monitor.PowerMonitor __builtin__.object Methods defined here: CanMonitorPower(*args, **kwargs) StartMonitoringPower(self, browser) StopMonitoringPower(self) __init__(self, backend) Static methods defined here: ParsePowerMetricsOutput(powermetrics_output) `Parse output of powermetrics command line utility. Returns: Dictionary in the format returned by StopMonitoringPower() or None if |powermetrics_output| is empty - crbug.com/353250 .` Data descriptors defined here: binary_path 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)`