Skip to content

Android benchmark refactoring

Created by: derkling

Here is a series which improves the current support for Android workloads execution to easy the customisation of their execution as well as the integration with a possible CI back-end.

Main modifications are:

  1. refactoring of libs/utils/android/workloads/* to support both energy sampling and trace events
  2. introduction of a new base class libs/utils/android/benchmark.py which allows to wrap and customise the execution of one of the supported Android worklaods
  3. addition of an initial example of Jankbench benchmark customisation to evaluate how different CPUFreq governors affect energy and performances

The newly introduced benchmark can be executed from a local LISA shell using for example this command:

[LISAShell lisa] \> python tests/benchmarks/android_jankbench.py \
                      --android_home /data/Android/android-sdk \
                      --results_dir MyJankbenchTest \
                      --iio_channel_map "PixelPhone:2"

To check all the supported command line options:

[LISAShell lisa] \> python tests/benchmarks/android_jankbench.py --help

Merge request reports