Home | History | Annotate | Download | only in test_scripts

Lines Matching full:cpufreq

23 # Do any CPU support cpufreq?
24 #CPUFREQ_ENABLED_CPUS=`/bin/ls -lad /sys/devices/system/cpu/cpu*/cpufreq 2> /dev/null | wc -l`
27 # echo "None of your CPUs support cpufreq. Bye."
46 echo userspace > "$i/cpufreq/scaling_governor"
50 trap 'kill -9 `pgrep -P $$` `pgrep cpufreq.bin` 2> /dev/null; exit 0' 1 2 15
56 # For all CPUs with cpufreq: remove CPUs that are locked with another.
58 for cpu in `ls -d /sys/devices/system/cpu/cpu*/cpufreq 2> /dev/null`; do
65 MATCHES=`(cat /sys/devices/system/cpu/cpu*/cpufreq/affected_cpus /dev/null 2> /dev/null | while read car cdr; do echo $cdr; done) | grep "^$CPU_NUM$" -c`
76 if [ -f "$i/cpufreq/scaling_available_frequencies" ]; then
77 cat "$i/cpufreq/scaling_available_frequencies"
79 cat "$i/cpufreq/scaling_min_freq" "$i/cpufreq/scaling_max_freq"
83 # Figure out which CPUs have cpufreq support.
88 # Does this CPU have cpufreq?
89 if [ ! -d "$i/cpufreq/" ]; then
94 "$POUNDER_HOME/timed_loop" 900 "$POUNDER_SRCDIR/cpufreq/cpufreq.bin" "$i/cpufreq/scaling_setspeed" 10000 $f `find_cpu_frequencies $f` &
98 while [ `pgrep cpufreq.bin | wc -l` -gt 0 ]; do