OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Monsoon
(Results
1 - 7
of
7
) sorted by null
/tools/test/connectivity/acts/framework/acts/bin/
monsoon.py
17
"""Interface for a USB-connected
Monsoon
power meter
29
from acts.controllers.
monsoon
import
Monsoon
32
"""Simple command-line interface for
Monsoon
."""
37
mon =
Monsoon
(serial=int(FLAGS.serialno[0]))
56
# Have to sleep a bit here for
monsoon
to be ready to lower the rate of
65
"tool to control
monsoon
power measurement boxes."))
84
help="The serial number of the
Monsoon
to use.")
88
"increase voltage to prevent tripping
Monsoon
overvoltage"))
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
monsoon_profiler.py
5
"""Profiler using data collected from a
Monsoon
power meter.
17
from telemetry.internal.platform.profiler import
monsoon
namespace
22
mon =
monsoon
.
Monsoon
(wait=False)
34
# Do one CollectData() to make the
Monsoon
set up, which takes about
55
print '
Monsoon
profile power readings in watts:'
62
print 'To view the
Monsoon
profile, run:'
83
return '
monsoon
'
88
monsoon
.
Monsoon
(wait=False
[
all
...]
monsoon.py
5
"""Interface for a USB-connected
Monsoon
power meter.
25
class
Monsoon
(object):
28
mon =
monsoon
.
Monsoon
()
38
"""Establish a connection to a
Monsoon
.
41
A particular port can be specified with 'device', or a particular
Monsoon
46
'
Monsoon
requires pyserial v2.7 or later. You have %s' % serial.VERSION
61
tmpname = '/tmp/
monsoon
.%s.%s' % (os.uname()[0], os.path.basename(port))
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/
monsoon_power_monitor.py
13
from telemetry.internal.platform.profiler import
monsoon
namespace
19
device: A profiler.
monsoon
object to collect samples from.
56
self._monsoon =
monsoon
.
Monsoon
(wait=False)
118
return {'identifier':'
monsoon
',
/cts/tools/utils/
monsoon.py
17
"""Interface for a USB-connected
Monsoon
power meter
26
python2.6
monsoon
.py --voltage=4.0 --serialno 7536
29
python2.6
monsoon
.py --samples -1 --hz 5000 --serialno 7536
32
python2.6
monsoon
.py --samples 100 --hz 200
35
python2.6
monsoon
.py --samples -1 --hz 200 --device /dev/ttyACM0
54
class
Monsoon
:
57
mon =
monsoon
.
Monsoon
()
68
Establish a connection to a
Monsoon
.
70
A particular port can be specified with "device", or a particular
Monsoon
[
all
...]
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
android_device.py
12
from telemetry.internal.platform.profiler import
monsoon
namespace
65
# The
monsoon
provides power for the device, so for devices with no
66
# real battery, we need to turn them on after the
monsoon
enables voltage
70
m =
monsoon
.
Monsoon
(wait=False)
75
Monsoon
power monitor detected, but no Android devices.
77
The
Monsoon
's power output has been enabled. Please now ensure that:
79
1. The
Monsoon
's front and back USB are connected to the host.
80
2. The device is connected to the
Monsoon
's main and USB channels.
/tools/test/connectivity/acts/framework/acts/controllers/
monsoon.py
17
"""Interface for a USB-connected
Monsoon
power meter
43
ACTS_CONTROLLER_CONFIG_NAME = "
Monsoon
"
49
objs.append(
Monsoon
(serial=c, logger=logger))
56
"""Raised for exceptions encountered in
monsoon
lib."""
59
"""Class that directly talks to
monsoon
over serial.
62
mon =
monsoon
.
Monsoon
()
74
"""Establish a connection to a
Monsoon
.
78
Monsoon
can be specified with "serialno" (using the number printed on
101
tmpname = "/tmp/
monsoon
.%s.%s" % (os.uname()[0], dev
[
all
...]
Completed in 86 milliseconds