Index: tools/telemetry/telemetry/core/platform/__init__.py |
diff --git a/tools/telemetry/telemetry/core/platform/__init__.py b/tools/telemetry/telemetry/core/platform/__init__.py |
index 79291c2b1cc9fdacfa0f63a218b31f2fe54cc7e8..4bdd008ae2e7693a84dec7b753702931ff2d7db2 100644 |
--- a/tools/telemetry/telemetry/core/platform/__init__.py |
+++ b/tools/telemetry/telemetry/core/platform/__init__.py |
@@ -161,35 +161,6 @@ class Platform(object): |
for t in self._platform_backend.StopVideoCapture(): |
yield t |
- def CanMonitorPowerSync(self): |
tonyg
2014/02/27 06:42:17
Let's move this to a separate CL and hold off on l
jeremy
2014/02/27 13:41:12
Done.
|
- """Returns True iff power can be monitored synchronously via |
- MonitorPowerSync(). |
- """ |
- return self._platform_backend.CanMonitorPowerSync() |
- |
- def MonitorPowerSync(self, duration_ms): |
- """Synchronously monitors power for |duration_ms|. |
- |
- Returns: |
- A dict of power utilization statistics containing: { |
- # The instantaneous power (voltage * current) reading in milliwatts at |
- # each sample. |
- 'power_samples_mw': [mw0, mw1, ..., mwN], |
- |
- # The total energy consumption during the sampling period in milliwatt |
- # hours. May be estimated by integrating power samples or may be exact |
- # on supported hardware. |
- 'energy_consumption_mwh': mwh, |
- |
- # A platform-specific dictionary of additional details about the |
- # utilization of individual hardware components. |
- hw_component_utilization: { |
- ... |
- } |
- } |
- """ |
- return self._platform_backend.MonitorPowerSync(duration_ms) |
- |
def CanMonitorPowerAsync(self): |
"""Returns True iff power can be monitored asynchronously via |
StartMonitoringPowerAsync() and StopMonitoringPowerAsync(). |