summaryrefslogtreecommitdiff
path: root/android/scripts/configure-nexus9-for-benchmarks.sh
diff options
context:
space:
mode:
Diffstat (limited to 'android/scripts/configure-nexus9-for-benchmarks.sh')
-rwxr-xr-xandroid/scripts/configure-nexus9-for-benchmarks.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/android/scripts/configure-nexus9-for-benchmarks.sh b/android/scripts/configure-nexus9-for-benchmarks.sh
new file mode 100755
index 0000000..d32c039
--- /dev/null
+++ b/android/scripts/configure-nexus9-for-benchmarks.sh
@@ -0,0 +1,5 @@
+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"
+adb -s $IPADDR shell "echo 2295000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq"
+adb -s $IPADDR shell "echo 2295000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"