From 372f60ed1c557a2e07170aa29275758096521597 Mon Sep 17 00:00:00 2001 From: Vishal Bhoj Date: Wed, 18 May 2016 15:22:13 +0530 Subject: android: microbenchmarks: wait for device to be available Change-Id: I7268d53697c3d2324d8a3db382c5b8e9c371de29 Signed-off-by: Vishal Bhoj --- android/scripts/configure-nexus5x-for-benchmarks.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'android') 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" -- cgit v1.2.3