We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a732d6d commit ca46509Copy full SHA for ca46509
icpc-wf/disable-turboboost_ht
@@ -5,7 +5,7 @@ shopt -s extglob
5
declare -A core_ids
6
7
for cpu in /sys/devices/system/cpu/cpu* ; do
8
- [[ $(basename $cpu) =~ '^cpu[0-9]+$' ]] || continue
+ [[ $(basename $cpu) =~ ^cpu[0-9]+$ ]] || continue
9
10
# Reenable stuff in case we are rerunning this script.
11
chmod u+w $cpu/cpufreq/scaling_governor
0 commit comments