summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--android/art-microbenchmarks.yaml2
-rwxr-xr-xandroid/scripts/configure-nexus9-for-benchmarks.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/android/art-microbenchmarks.yaml b/android/art-microbenchmarks.yaml
index 7859aa2..b3d903d 100644
--- a/android/art-microbenchmarks.yaml
+++ b/android/art-microbenchmarks.yaml
@@ -39,7 +39,7 @@ run:
- IPADDR=`awk -F '=' '{print $2}' /tmp/lava_multi_node_cache.txt`
- if [ $IPADDR != "_MISSING_" ]
- then
- - ./android/scripts/configure-$TARGET_DEVICE-for-benchmarks.sh
+ - . ./android/scripts/configure-$TARGET_DEVICE-for-benchmarks.sh
- ./art-testing/run.py -t $IPADDR --iterations $ITERATIONS --mode $MODE | tee logs.txt
- ./android/scripts/parse-ubenchmarks-results.sh art-testing/benchmarking/java-ubenchs/logs.txt
- lava-test-run-attach res.*.pkl
diff --git a/android/scripts/configure-nexus9-for-benchmarks.sh b/android/scripts/configure-nexus9-for-benchmarks.sh
index d32c039..977cb79 100755
--- a/android/scripts/configure-nexus9-for-benchmarks.sh
+++ b/android/scripts/configure-nexus9-for-benchmarks.sh
@@ -1,3 +1,5 @@
+#!/bin/bash
+echo "configuring Nexus9 on: $IPADDR"
adb -s $IPADDR wait-for-device
adb -s $IPADDR shell stop
adb -s $IPADDR shell "echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"