Lines Matching +full:1 +full:mhz
6 # state to the minimum supported frequency, in decrements of 100MHz. The
10 # or the requested frequency in MHz, the Actual frequency, as read from
22 #/tmp/result.3100:1:cpu MHz : 2899.980
23 #/tmp/result.3100:2:cpu MHz : 2900.000
28 # for consistency and modified to remove the extra MHz values. The result.X
29 # files can be re-evaluated by setting EVALUATE_ONLY to 1 below.
52 max_cpus=$(($(nproc)-1))
56 file_ext=$1
65 grep MHz /proc/cpuinfo | sort -u > /tmp/result.freqs
66 num_freqs=$(wc -l /tmp/result.freqs | awk ' { print $1 } ')
68 tail -n 1 /tmp/result.freqs > /tmp/result.$1
70 cp /tmp/result.freqs /tmp/result.$1
72 ./msr 0 >> /tmp/result.$1
75 echo "max_perf_pct $max_perf_pct" >> /tmp/result.$1
85 # MAIN (ALL UNITS IN MHZ)
89 _mkt_freq=$(cat /proc/cpuinfo | grep -m 1 "model name" | awk '{print $NF}')
94 _min_freq=$(cpupower frequency-info -l | tail -1 | awk ' { print $1 } ')
96 _max_freq=$(cpupower frequency-info -l | tail -1 | awk ' { print $2 } ')
103 cpupower frequency-set -g powersave --max=${freq}MHz >& /dev/null
107 [ $EVALUATE_ONLY -eq 0 ] && cpupower frequency-set -g powersave --max=${max_freq}MHz >& /dev/null
110 echo "The marketing frequency of the cpu is $mkt_freq MHz"
111 echo "The maximum frequency of the cpu is $max_freq MHz"
112 echo "The minimum frequency of the cpu is $min_freq MHz"
118 …result_freq=$(cat /tmp/result.${freq} | grep "cpu MHz" | awk ' { print $4 } ' | awk -F "." ' { pri…