mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-04-10 21:00:48 +01:00
Added a variable applaunch_start_time in ApkWorkload class that captures the applaunch start time. The value is appended to the beginning of the logcat.log file in the method update_result. Changes Actionlogger to give epoch time Applaunch time is obtained as epoch time from the device. For uxperf result processor to work for applaunch time as well, log time changed to epoch time Removes the nano to mill second conversion As the previous commit changed the system time to give epoch time in milli seconds, the conversion from nano to milli seconds is not required. Adds applaunch end time marker for workloads End time of applaunch is currently considered as the time until the screen orientation is set in all the applications dealt with so far. This marker can later be moved to the most apt point after close observation on every workload. Pylint and pep8 checks done
This directory contains external libraries and standalone utilities which have been written/modified to work with Workload Automation (and thus need to be included with WA rather than obtained from orignal sources). bbench_server ============= This is a small sever that is used to detect when ``bbench`` workload has completed. ``bbench`` navigates though a bunch of web pages in a browser using javascript. It will cause the browser to sent a GET request to the port the bbench_server is listening on, indicating the end of workload. daq_server ========== Contains Daq server files that will run on a Windows machine. Please refer to daq instrument documentation. louie (third party) ===== Python package that is itself a fork (and now, a replacement for) pydispatcher. This library provides a signal dispatching mechanism. This has been modified for WA to add prioritization to callbacks. pmu_logger ========== Source for the kernel driver that enable the logging of CCI counters to ftrace on periodic basis. This driver is required by the ``cci_pmu_logger`` instrument. readenergy ========== Outputs Juno internal energy/power/voltage/current measurments by reading APB regesiters from memory. This is used by ``juno_energy`` instrument. revent ====== This is a tool that is used to both record and playback key press and screen tap events. It is used to record UI manipulation for some workloads (such as games) where it is not possible to use the Android UI Automator. The tools is also included in binary form in wlauto/common/. In order to build the tool from source, you will need to have Android NDK in your PATH. stacktracer.py (third party) ============== A module based on an ActiveState recipe that allows tracing thread stacks during execution of a Python program. This is used through the ``--debug`` flag in WA to ease debuging multi-threaded parts of the code. terminalsize.py (third party) =============== Implements a platform-agnostic way of determining terminal window size. Taken from a public Github gist. uiauto ====== Contains the utilities library for UI automation.