projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
tools
/
telemetry
/
telemetry
/
core
/
platform
/
power_monitor
/
__init__.py
diff --git
a/src/tools/telemetry/telemetry/core/platform/power_monitor/__init__.py
b/src/tools/telemetry/telemetry/core/platform/power_monitor/__init__.py
index
4aee1c2
..
4d98e07
100644
(file)
--- a/
src/tools/telemetry/telemetry/core/platform/power_monitor/__init__.py
+++ b/
src/tools/telemetry/telemetry/core/platform/power_monitor/__init__.py
@@
-10,19
+10,22
@@
class PowerMonitor(object):
Provides an interface to register power consumption during a test.
"""
Provides an interface to register power consumption during a test.
"""
- def CanMonitorPower
Async
(self):
+ def CanMonitorPower(self):
"""Returns True iff power can be monitored asynchronously via
"""Returns True iff power can be monitored asynchronously via
- StartMonitoringPower
Async() and StopMonitoringPowerAsync
().
+ StartMonitoringPower
() and StopMonitoringPower
().
"""
return False
"""
return False
- def StartMonitoringPowerAsync(self):
- """Starts monitoring power utilization statistics."""
+ def StartMonitoringPower(self, browser):
+ """Starts monitoring power utilization statistics.
+
+ See Platform#StartMonitoringPower for the arguments format.
+ """
raise NotImplementedError()
raise NotImplementedError()
- def StopMonitoringPower
Async
(self):
+ def StopMonitoringPower(self):
"""Stops monitoring power utilization and returns collects stats
"""Stops monitoring power utilization and returns collects stats
- See Platform#StopMonitoringPower
Async
for the return format.
+ See Platform#StopMonitoringPower for the return format.
"""
raise NotImplementedError()
"""
raise NotImplementedError()