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.
47 max_cpus=$(($(nproc)-1))
51 file_ext=$1
60 grep MHz /proc/cpuinfo | sort -u > /tmp/result.freqs
61 num_freqs=$(wc -l /tmp/result.freqs | awk ' { print $1 } ')
63 tail -n 1 /tmp/result.freqs > /tmp/result.$1
65 cp /tmp/result.freqs /tmp/result.$1
67 ./msr 0 >> /tmp/result.$1
70 echo "max_perf_pct $max_perf_pct" >> /tmp/result.$1
80 # MAIN (ALL UNITS IN MHZ)
84 _mkt_freq=$(cat /proc/cpuinfo | grep -m 1 "model name" | awk '{print $NF}')
89 _min_freq=$(cpupower frequency-info -l | tail -1 | awk ' { print $1 } ')
91 _max_freq=$(cpupower frequency-info -l | tail -1 | awk ' { print $2 } ')
98 cpupower frequency-set -g powersave --max=${freq}MHz >& /dev/null
102 [ $EVALUATE_ONLY -eq 0 ] && cpupower frequency-set -g powersave --max=${max_freq}MHz >& /dev/null
105 echo "The marketing frequency of the cpu is $mkt_freq MHz"
106 echo "The maximum frequency of the cpu is $max_freq MHz"
107 echo "The minimum frequency of the cpu is $min_freq MHz"
113 …result_freq=$(cat /tmp/result.${freq} | grep "cpu MHz" | awk ' { print $4 } ' | awk -F "." ' { pri…