diff options
Diffstat (limited to 'cpu-freq-tests.sh')
-rwxr-xr-x | cpu-freq-tests.sh | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/cpu-freq-tests.sh b/cpu-freq-tests.sh index 961577b..440ca82 100755 --- a/cpu-freq-tests.sh +++ b/cpu-freq-tests.sh @@ -202,18 +202,18 @@ shuffle_frequency_for_all_cpus() # $1: file name clear_dumps() { - echo "" > $1.txt - echo "" > $1.cpufreq.txt - echo "" > $1.full.txt + echo "" > $0.txt + echo "" > $0.cpufreq.txt + echo "" > $0.full.txt } # $1: output file name dmesg_dumps() { - dmesg | grep cpufreq >> $1.cpufreq.txt + dmesg | grep cpufreq >> $0.cpufreq.txt # We may need the full logs as well - dmesg --read-clear >> $1.full.txt + dmesg --read-clear >> $0.full.txt } # Basic cpufreq tests @@ -239,15 +239,15 @@ cpufreq_basic_tests() read_all_cpufreq_files update_all_cpufreq_files - # hotplug cpus - hotplug_1_by_1 5 - hotplug_together 5 + # hotplug cpus for n times + cpu_hotplug_1_by_1 1 + cpu_hotplug_together 1 - # Test all governors + # Test all governors for n times shuffle_governors_for_all_cpus 1 - # Test all frequencies - shuffle_frequency_for_all_cpus 2 + # Test all frequencies for n times + shuffle_frequency_for_all_cpus 1 } clear_dumps cpufreq_basic_tests |