Lines Matching refs:core
61 for core in $cores; do
64 if fileexists $DIR/$core/online; then
65 adb shell "echo -n 1 > $DIR/$core/online"
69 if fileexists $DIR/$core/cpufreq/scaling_available_frequencies; then
70 frequencies=(`getprop $DIR/$core/cpufreq/scaling_available_frequencies`)
71 elif fileexists $DIR/$core/cpufreq/stats/time_in_state; then
72 … frequencies=(`adb shell cat $DIR/$core/cpufreq/stats/time_in_state | cut -f1 -d " " | tr -d '\r'`)
83 selectedFreq[$core]=$freq
86 adb shell "echo -n $freq > $DIR/$core/cpufreq/scaling_min_freq"
87 adb shell "echo -n $freq > $DIR/$core/cpufreq/scaling_max_freq"
97 for core in $cores; do
98 if fileexists $DIR/$core/online && [ `getprop $DIR/$core/online` -eq 0 ]; then
99 echo "$core is offline"
102 if fileexists $DIR/$core/cpufreq/scaling_cur_freq; then
103 frequency=`getprop $DIR/$core/cpufreq/scaling_cur_freq`
104 if [ $frequency != ${selectedFreq[$core]} ]; then
105 echo "$core: $frequency != ${selectedFreq[$core]}"
109 echo "$core is offline"
137 for core in $cores; do
138 if fileexists $DIR/$core/online; then
139 adb shell "echo -n 1 > $DIR/$core/online"
141 adb shell "echo -n $freq > $DIR/$core/cpufreq/scaling_min_freq"
142 adb shell "echo -n $freq > $DIR/$core/cpufreq/scaling_max_freq"
150 for core in $cores; do
151 echo "$core successfully set to ${selectedFreq[$core]}"