wlauto package¶
Subpackages¶
- wlauto.commands package
- wlauto.common package
- wlauto.core package
- Submodules
- wlauto.core.agenda module
- wlauto.core.bootstrap module
- wlauto.core.command module
- wlauto.core.configuration module
- wlauto.core.device module
- wlauto.core.entry_point module
- wlauto.core.execution module
- wlauto.core.extension module
- wlauto.core.extension_loader module
- wlauto.core.exttype module
- wlauto.core.instrumentation module
- wlauto.core.resolver module
- wlauto.core.resource module
- wlauto.core.result module
- wlauto.core.signal module
- wlauto.core.version module
- wlauto.core.workload module
- Module contents
- wlauto.devices package
- Subpackages
- wlauto.devices.android package
- Subpackages
- wlauto.devices.android.gem5 package
- wlauto.devices.android.generic package
- wlauto.devices.android.juno package
- wlauto.devices.android.meizumx6 package
- wlauto.devices.android.nexus10 package
- wlauto.devices.android.nexus5 package
- wlauto.devices.android.note3 package
- wlauto.devices.android.odroidxu3 package
- wlauto.devices.android.tc2 package
- Module contents
- Subpackages
- wlauto.devices.linux package
- wlauto.devices.android package
- Module contents
- Subpackages
- wlauto.instrumentation package
- Subpackages
- wlauto.instrumentation.acmecape package
- wlauto.instrumentation.coreutil package
- wlauto.instrumentation.daq package
- wlauto.instrumentation.delay package
- wlauto.instrumentation.dmesg package
- wlauto.instrumentation.energy_model package
- wlauto.instrumentation.energy_probe package
- wlauto.instrumentation.fps package
- wlauto.instrumentation.freqsweep package
- wlauto.instrumentation.hwmon package
- wlauto.instrumentation.juno_energy package
- wlauto.instrumentation.misc package
- wlauto.instrumentation.netstats package
- wlauto.instrumentation.perf package
- wlauto.instrumentation.pmu_logger package
- wlauto.instrumentation.poller package
- wlauto.instrumentation.screenon package
- wlauto.instrumentation.servo_power_monitors package
- wlauto.instrumentation.streamline package
- wlauto.instrumentation.systrace package
- wlauto.instrumentation.trace_cmd package
- Module contents
- Subpackages
- wlauto.modules package
- wlauto.resource_getters package
- wlauto.result_processors package
- Subpackages
- Submodules
- wlauto.result_processors.cpustate module
- wlauto.result_processors.dvfs module
- wlauto.result_processors.mongodb module
- wlauto.result_processors.notify module
- wlauto.result_processors.sqlite module
- wlauto.result_processors.standard module
- wlauto.result_processors.status module
- wlauto.result_processors.syeg module
- wlauto.result_processors.uxperf module
- Module contents
- wlauto.tests package
- Submodules
- wlauto.tests.test_agenda module
- wlauto.tests.test_config module
- wlauto.tests.test_device module
- wlauto.tests.test_diff module
- wlauto.tests.test_execution module
- wlauto.tests.test_extension module
- wlauto.tests.test_extension_loader module
- wlauto.tests.test_instrumentation module
- wlauto.tests.test_results_manager module
- wlauto.tests.test_utils module
- Module contents
- wlauto.tools package
- wlauto.utils package
- Submodules
- wlauto.utils.android module
- wlauto.utils.cli module
- wlauto.utils.cpuinfo module
- wlauto.utils.cros_sdk module
- wlauto.utils.doc module
- wlauto.utils.formatter module
- wlauto.utils.fps module
- wlauto.utils.hwmon module
- wlauto.utils.ipython module
- wlauto.utils.log module
- wlauto.utils.misc module
- wlauto.utils.netio module
- wlauto.utils.power module
- wlauto.utils.revent module
- wlauto.utils.serial_port module
- wlauto.utils.ssh module
- wlauto.utils.statedetect module
- wlauto.utils.terminalsize module
- wlauto.utils.trace_cmd module
- wlauto.utils.types module
- wlauto.utils.uboot module
- wlauto.utils.uefi module
- wlauto.utils.uxperf module
- Module contents
- wlauto.workloads package
- Subpackages
- wlauto.workloads.adobereader package
- wlauto.workloads.andebench package
- wlauto.workloads.androbench package
- wlauto.workloads.angrybirds package
- wlauto.workloads.angrybirds_rio package
- wlauto.workloads.anomaly2 package
- wlauto.workloads.antutu package
- wlauto.workloads.apklaunch package
- wlauto.workloads.applaunch package
- wlauto.workloads.appshare package
- wlauto.workloads.audio package
- wlauto.workloads.autotest package
- wlauto.workloads.bbench package
- wlauto.workloads.benchmarkpi package
- wlauto.workloads.blogbench package
- wlauto.workloads.caffeinemark package
- wlauto.workloads.cameracapture package
- wlauto.workloads.camerarecord package
- wlauto.workloads.castlebuilder package
- wlauto.workloads.castlemaster package
- wlauto.workloads.cfbench package
- wlauto.workloads.citadel package
- wlauto.workloads.cyclictest package
- wlauto.workloads.dex2oat package
- wlauto.workloads.dhrystone package
- wlauto.workloads.dungeondefenders package
- wlauto.workloads.ebizzy package
- wlauto.workloads.facebook package
- wlauto.workloads.geekbench package
- wlauto.workloads.glbcorp package
- wlauto.workloads.glbenchmark package
- wlauto.workloads.gmail package
- wlauto.workloads.googlemap package
- wlauto.workloads.googlephotos package
- wlauto.workloads.googleplaybooks package
- wlauto.workloads.googleslides package
- wlauto.workloads.gunbros2 package
- wlauto.workloads.hackbench package
- wlauto.workloads.homescreen package
- wlauto.workloads.hwuitest package
- wlauto.workloads.idle package
- wlauto.workloads.iozone package
- wlauto.workloads.ironman package
- wlauto.workloads.krazykart package
- wlauto.workloads.linpack package
- wlauto.workloads.linpack_cli package
- wlauto.workloads.lmbench package
- wlauto.workloads.manual package
- wlauto.workloads.memcpy package
- wlauto.workloads.nenamark package
- wlauto.workloads.octaned8 package
- wlauto.workloads.peacekeeper package
- wlauto.workloads.power_loadtest package
- wlauto.workloads.quadrant package
- wlauto.workloads.real_linpack package
- wlauto.workloads.realracing3 package
- wlauto.workloads.recentfling package
- wlauto.workloads.rt_app package
- wlauto.workloads.shellscript package
- wlauto.workloads.skype package
- wlauto.workloads.smartbench package
- wlauto.workloads.spec2000 package
- wlauto.workloads.sqlite package
- wlauto.workloads.stream package
- wlauto.workloads.stress_ng package
- wlauto.workloads.sysbench package
- wlauto.workloads.telemetry package
- wlauto.workloads.templerun package
- wlauto.workloads.thechase package
- wlauto.workloads.truckerparking3d package
- wlauto.workloads.vellamo package
- wlauto.workloads.video package
- wlauto.workloads.videostreaming package
- wlauto.workloads.youtube package
- Module contents
- Subpackages
Submodules¶
wlauto.config_example module¶
Default config for Workload Automation. DO NOT MODIFY this file. This file gets copied to ~/.workload_automation/config.py on initial run of run_workloads. Add your configuration to that file instead.
wlauto.exceptions module¶
-
exception
wlauto.exceptions.
CommandError
[source]¶ Bases:
wlauto.exceptions.WAError
Raised by commands when they have encountered an error condition during execution.
-
exception
wlauto.exceptions.
ConfigError
[source]¶ Bases:
wlauto.exceptions.WAError
Raised when configuration provided is invalid. This error suggests that the user should modify their config and try again.
-
exception
wlauto.exceptions.
DeviceError
[source]¶ Bases:
wlauto.exceptions.WAError
General Device error.
-
exception
wlauto.exceptions.
DeviceNotRespondingError
(device)[source]¶ Bases:
wlauto.exceptions.WAError
The device is not responding.
-
exception
wlauto.exceptions.
HostError
[source]¶ Bases:
wlauto.exceptions.WAError
Problem with the host on which WA is running.
-
exception
wlauto.exceptions.
InstrumentError
[source]¶ Bases:
wlauto.exceptions.WAError
General Instrument error.
-
exception
wlauto.exceptions.
LoaderError
(message, exc_info=None)[source]¶ Bases:
wlauto.exceptions.WAError
Raised when there is an error loading an extension or an external resource. Apart form the usual message, the __init__ takes an exc_info parameter which should be the result of sys.exc_info() for the original exception (if any) that caused the error.
-
exception
wlauto.exceptions.
ModuleError
[source]¶ Bases:
wlauto.exceptions.WAError
Problem with a module.
Note
Modules for specific extension types should raise execeptions appropriate to that extension. E.g. a
Device
module should raiseDeviceError
. This is intended for situation where a module is unsure (and/or doesn’t care) what its owner is.
-
exception
wlauto.exceptions.
NotFoundError
[source]¶ Bases:
wlauto.exceptions.WAError
Raised when the specified item is not found.
-
exception
wlauto.exceptions.
ResourceError
[source]¶ Bases:
wlauto.exceptions.WAError
General Resolver error.
-
exception
wlauto.exceptions.
ResultProcessorError
[source]¶ Bases:
wlauto.exceptions.WAError
General ResultProcessor error.
-
exception
wlauto.exceptions.
ToolError
[source]¶ Bases:
wlauto.exceptions.WAError
Raised by tools when they have encountered an error condition during execution.
-
exception
wlauto.exceptions.
ValidationError
[source]¶ Bases:
wlauto.exceptions.WAError
Raised on failure to validate an extension.
-
exception
wlauto.exceptions.
WAError
[source]¶ Bases:
exceptions.Exception
Base class for all Workload Automation exceptions.
-
exception
wlauto.exceptions.
WorkerThreadError
(thread, exc_info)[source]¶ Bases:
wlauto.exceptions.WAError
This should get raised in the main thread if a non-WAError-derived exception occurs on a worker/background thread. If a WAError-derived exception is raised in the worker, then it that exception should be re-raised on the main thread directly – the main point of this is to preserve the backtrace in the output, and backtrace doesn’t get output for WAErrors.
-
exception
wlauto.exceptions.
WorkloadError
[source]¶ Bases:
wlauto.exceptions.WAError
General Workload error.