mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
- Re-order Status entries so that higher severity entries have higher enum values. - Add set_status() to Job that ensures that a status is only set if it is of higher severity (e.g. a Job that has been marked as PARTIAL by an instrument will not be overwritten as OK by the runner). - Retry no generates a new job, rather than re-enqueuing the existing object; this ensures that the output status is tracked properly. - Adjust ManagedCallback to set set job status to FAILED if it sees a WorkloadError, and to PARTIAL other wise. The idea being that instruments raise WorkloadError if they have a reason to believe workload did not execute properly and indicated failure even if the workload itself has failed to detect it (e.g. FPS instrument detecting crashed content, where the workload might lack any feedback regarding the crash). Other errors would indicate an issue with the instrument itself, and so the job is marked as PARTIAL, as there is no reason to suspect that the workload is at fault and the other results generated for this execution may be valid.
Workload Automation +++++++++++++++++++ Workload Automation (WA) is a framework for executing workloads and collecting measurements on Android and Linux devices. WA includes automation for nearly 50 workloads (mostly Android), some common instrumentation (ftrace, ARM Streamline, hwmon). A number of output formats are supported. Workload Automation is designed primarily as a developer tool/framework to facilitate data driven development by providing a method of collecting measurements from a device in a repeatable way. Workload Automation is highly extensible. Most of the concrete functionality is implemented via plug-ins, and it is easy to write new plug-ins to support new device types, workloads, instrumentation or output processing. Requirements ============ - Python 2.7 - Linux (should work on other Unixes, but untested) - Latest Android SDK (ANDROID_HOME must be set) for Android devices, or - SSH for Linux devices Installation ============ To install:: python setup.py sdist sudo pip install dist/wlauto-*.tar.gz Please refer to the `installation section <./doc/source/installation.rst>`_ in the documentation for more details. Basic Usage =========== Please see the `Quickstart <./doc/source/quickstart.rst>`_ section of the documentation. Documentation ============= You can view pre-built HTML documentation `here <http://pythonhosted.org/wlauto/>`_. Documentation in reStructuredText format may be found under ``doc/source``. To compile it into cross-linked HTML, make sure you have `Sphinx <http://sphinx-doc.org/install.html>`_ installed, and then :: cd doc make html License ======= Workload Automation is distributed under `Apache v2.0 License <http://www.apache.org/licenses/LICENSE-2.0>`_. Workload automation includes binaries distributed under differnt licenses (see LICENSE files in specfic directories). Feedback, Contrubutions and Support =================================== - Please use the GitHub Issue Tracker associated with this repository for feedback. - ARM licensees may contact ARM directly via their partner managers. - We welcome code contributions via GitHub Pull requests. Please see "Contributing Code" section of the documentation for details.
Description
Languages
Python
75.8%
Java
15.9%
C
5.4%
Shell
2.5%
Dockerfile
0.3%