History log of /frameworks/rs/perf-test-scripts/timing
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dfbbdbc6d12e7d522a72d9a3d470c1a284aa1f83 03-Oct-2016 Michael Butler <butlermichael@google.com> Created three scripts to simplify performance testing:

- get-freq: Polls the status and frequency of all cores and the on the
gpu on the device.
- get-thermal: Polls the status of all thermal sensors on the device.
- set-cpu-freq: Sets the frequency of all cores to user-specified
percentage and also disables the GPU.
- set-gpu-freq: Sets the frequency of the GPU to user-specified
percentage.
- timing: Performs instrumentation timing on the ImageProcessing_jb
benchmark tests. Instructions listed like any other bash script.
This script can easily be extended to work with other test cases (ie.
BLAS), but the java source files may need to be altered.
- switch-device: Script to quickly switch between devices when multiple
are attached to a computer. Instructions listed as any other bash
script. Since this changes an environment variable ("ANDROID_SERIAL"),
you need to run it with "source ./switch-device" or ".
./switch-device". I recommend having an alias in .bashrc. I use:
alias sdv=". ~/android/perf-test-scripts/switch-device"

Test: tested on Nexus 6P, Nexus 7, Nexus 9, and Nexus S for get/set;
tested on Nexus 6P and Nexus 9 for timing.

Change-Id: I06e04da7967223d787898b2cb0a4dc1020992885
/frameworks/rs/perf-test-scripts/timing