Skip to content

Commit

Permalink
cpu: Fix CPU governor info on non big.LITTLE SoC
Browse files Browse the repository at this point in the history
Signed-off-by: Rem01Gaming <[email protected]>
  • Loading branch information
Rem01Gaming committed Oct 16, 2024
1 parent 1fab5bb commit 93f8c4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions share/utils/cpu/cpu_util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ cpu_menu() {
header_info+=("[] Governor: ${gov_tmp}")
unset gov_tmp
else
header_info=("[] Scaling freq: $(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq)KHz - $(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq)KHz")
cpu_gov_info="[] Governor: $(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)"
header_info=("[] Scaling freq: $(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq)KHz - $(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq)KHz"
"[] Governor: $(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)")
fi

options="Set Governor\nGovernor parameter\nSet max freq\nSet min freq\nCPU Core control"
Expand Down

0 comments on commit 93f8c4e

Please sign in to comment.