aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2013-02-04 18:36:21 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2013-02-04 18:36:21 +0530
commitaa15228501239c3cc3d73e07ba094001a369a49a (patch)
tree8ef60d790387acf275dfabd2363fc19fff1f327e
parenta26d0c340628136ec474d568ab0adeb03e2a9f3b (diff)
Revert "switch to A15 mode"IKS
This reverts commit 16a63ba41f7bcadb2ccfeb568f0e872b8c2f48a5.
-rwxr-xr-xbenchmarks-script/common/common.sh24
1 files changed, 1 insertions, 23 deletions
diff --git a/benchmarks-script/common/common.sh b/benchmarks-script/common/common.sh
index 47fbe7c..8a0930a 100755
--- a/benchmarks-script/common/common.sh
+++ b/benchmarks-script/common/common.sh
@@ -8,28 +8,6 @@ pre_uninstall=""
do_streamline=false
-function switch_to_A15(){
- adb shell echo 0 > /sys/devices/system/cpu/cpu0/cpuidle/state1/disable
- adb shell echo 0 > /sys/kernel/debug/idle_debug/enable_idle
- adb shell echo 1 > /sys/kernel/debug/idle_debug/enable_idle
- adb shell echo 0 > /sys/kernel/bL_switcher/active
-
- # wait 10 seconds here
- adb shell echo 1 > /sys/devices/system/cpu/cpu0/online
- adb shell echo 1 > /sys/devices/system/cpu/cpu1/online
- adb shell echo 0 > /sys/devices/system/cpu/cpu2/online
- adb shell echo 0 > /sys/devices/system/cpu/cpu3/online
- adb shell echo 0 > /sys/devices/system/cpu/cpu4/online
- adb shell echo interactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
- adb shell echo interactive > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
- adb shell echo 90 > /sys/devices/system/cpu/cpufreq/interactive/target_load
- adb shell echo 80000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
- adb shell echo 1000000 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
- adb shell echo 20000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate
- adb shell echo 80000 > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay
- adb shell echo 85 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
-}
-
function install_linaro_android_jar(){
jar_name="linaro.android.jar"
tgt_path="/data/local/tmp/${jar_name}"
@@ -64,7 +42,7 @@ function pull_png_files_from_device(){
function init(){
install_linaro_android_jar
- switch_to_A15
+
#uninstall the apk application
adb uninstall "${apk_package}"
#clear the logcat information