Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cpupowerutils: bench: trivial fix of spelling mistake on "average"

fix spelling mistake, avarage -> average

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Thomas Renninger <trenn@suse.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Colin Ian King and committed by
Rafael J. Wysocki
fe7656a8 938bb850

+3 -3
+1 -1
tools/power/cpupower/bench/README-BENCH
··· 113 113 -c, --cpu=<unsigned int> CPU Number to use, starting at 0 114 114 -p, --prio=<priority> scheduler priority, HIGH, LOW or DEFAULT 115 115 -g, --governor=<governor> cpufreq governor to test 116 - -n, --cycles=<int> load/sleep cycles to get an avarage value to compare 116 + -n, --cycles=<int> load/sleep cycles to get an average value to compare 117 117 -r, --rounds<int> load/sleep rounds 118 118 -f, --file=<configfile> config file to use 119 119 -o, --output=<dir> output dir, must exist
+2 -2
tools/power/cpupower/bench/benchmark.c
··· 130 130 _round, load_time, sleep_time); 131 131 132 132 if (config->verbose) 133 - printf("avarage: %lius, rps:%li\n", 133 + printf("average: %lius, rps:%li\n", 134 134 load_time / calculations, 135 135 1000000 * calculations / load_time); 136 136 ··· 177 177 178 178 progress_time += sleep_time + load_time; 179 179 180 - /* compare the avarage sleep/load cycles */ 180 + /* compare the average sleep/load cycles */ 181 181 fprintf(config->output, "%li ", 182 182 powersave_time / config->cycles); 183 183 fprintf(config->output, "%.3f\n",