mirror of
https://github.com/ARM-software/devlib.git
synced 2025-09-14 07:51:54 +01:00
Add new energy instrument that is based on arm-probe tool to manage AEP Main advantages of this tool are: - uses a config file for describing channels and shunt resistors value - manages power topology description in the config file. This topology is then used when computing power figures - can create virtual power channel and aggregate channels - support multiple AEP - support auto-zero of AEP's channel Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
32 lines
1.6 KiB
Python
32 lines
1.6 KiB
Python
from devlib.target import Target, LinuxTarget, AndroidTarget, LocalLinuxTarget, ChromeOsTarget
|
|
from devlib.host import PACKAGE_BIN_DIRECTORY
|
|
from devlib.exception import DevlibError, TargetError, HostError, TargetNotRespondingError
|
|
|
|
from devlib.module import Module, HardRestModule, BootModule, FlashModule
|
|
from devlib.module import get_module, register_module
|
|
|
|
from devlib.platform import Platform
|
|
from devlib.platform.arm import TC2, Juno, JunoEnergyInstrument
|
|
from devlib.platform.gem5 import Gem5SimulationPlatform
|
|
|
|
from devlib.instrument import Instrument, InstrumentChannel, Measurement, MeasurementsCsv
|
|
from devlib.instrument import MEASUREMENT_TYPES, INSTANTANEOUS, CONTINUOUS
|
|
from devlib.instrument.daq import DaqInstrument
|
|
from devlib.instrument.energy_probe import EnergyProbeInstrument
|
|
from devlib.instrument.arm_energy_probe import ArmEnergyProbeInstrument
|
|
from devlib.instrument.frames import GfxInfoFramesInstrument, SurfaceFlingerFramesInstrument
|
|
from devlib.instrument.hwmon import HwmonInstrument
|
|
from devlib.instrument.monsoon import MonsoonInstrument
|
|
from devlib.instrument.netstats import NetstatsInstrument
|
|
from devlib.instrument.gem5power import Gem5PowerInstrument
|
|
|
|
from devlib.derived import DerivedMeasurements, DerivedMetric
|
|
from devlib.derived.energy import DerivedEnergyMeasurements
|
|
from devlib.derived.fps import DerivedGfxInfoStats, DerivedSurfaceFlingerStats
|
|
|
|
from devlib.trace.ftrace import FtraceCollector
|
|
|
|
from devlib.host import LocalConnection
|
|
from devlib.utils.android import AdbConnection
|
|
from devlib.utils.ssh import SshConnection, TelnetConnection, Gem5Connection
|