Skip to content

Commit

Permalink
userspace
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninoh-FOX authored Dec 23, 2019
1 parent 6212029 commit 5a670b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rootfs/usr/bin/governor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
STATE=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor`
counter=0

while [[ $STATE != "performance" ]]; do
echo 'performance' > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
while [[ $STATE != "userspece" ]]; do
echo 'userspace' > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
sleep 1

STATE=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor`
Expand Down

0 comments on commit 5a670b4

Please sign in to comment.