diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2016-05-18 15:22:13 +0530 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2016-05-18 16:37:57 +0530 |
commit | 372f60ed1c557a2e07170aa29275758096521597 (patch) | |
tree | 413b9ef01963229980e1d5f29b6b307c22bd46fe /android | |
parent | 0011a240eda4e347f3d1f20f7dbf7cf980bb6b2d (diff) |
android: microbenchmarks: wait for device to be available
Change-Id: I7268d53697c3d2324d8a3db382c5b8e9c371de29
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'android')
-rwxr-xr-x | android/scripts/configure-nexus5x-for-benchmarks.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android/scripts/configure-nexus5x-for-benchmarks.sh b/android/scripts/configure-nexus5x-for-benchmarks.sh index d0cae4b..e68ff56 100755 --- a/android/scripts/configure-nexus5x-for-benchmarks.sh +++ b/android/scripts/configure-nexus5x-for-benchmarks.sh @@ -51,6 +51,7 @@ adb -s $IPADDR wait-for-device adb -s $IPADDR root adb -s $IPADDR wait-for-device adb -s $IPADDR shell stop +adb -s $IPADDR wait-for-device for n in {0..5}; do adb -s $IPADDR shell "echo userspace > /sys/devices/system/cpu/cpu$n/cpufreq/scaling_governor" adb -s $IPADDR shell "echo 1000000 > /sys/devices/system/cpu/cpu$n/cpufreq/scaling_min_freq" |