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>
This commit is contained in:
Colin Ian King 2016-04-28 15:24:39 +02:00 committed by Rafael J. Wysocki
parent 938bb850d5
commit fe7656a8e8
2 changed files with 3 additions and 3 deletions

View file

@ -113,7 +113,7 @@ cpufreq-bench Command Usage
-c, --cpu=<unsigned int> CPU Number to use, starting at 0 -c, --cpu=<unsigned int> CPU Number to use, starting at 0
-p, --prio=<priority> scheduler priority, HIGH, LOW or DEFAULT -p, --prio=<priority> scheduler priority, HIGH, LOW or DEFAULT
-g, --governor=<governor> cpufreq governor to test -g, --governor=<governor> cpufreq governor to test
-n, --cycles=<int> load/sleep cycles to get an avarage value to compare -n, --cycles=<int> load/sleep cycles to get an average value to compare
-r, --rounds<int> load/sleep rounds -r, --rounds<int> load/sleep rounds
-f, --file=<configfile> config file to use -f, --file=<configfile> config file to use
-o, --output=<dir> output dir, must exist -o, --output=<dir> output dir, must exist

View file

@ -130,7 +130,7 @@ void start_benchmark(struct config *config)
_round, load_time, sleep_time); _round, load_time, sleep_time);
if (config->verbose) if (config->verbose)
printf("avarage: %lius, rps:%li\n", printf("average: %lius, rps:%li\n",
load_time / calculations, load_time / calculations,
1000000 * calculations / load_time); 1000000 * calculations / load_time);
@ -177,7 +177,7 @@ void start_benchmark(struct config *config)
progress_time += sleep_time + load_time; progress_time += sleep_time + load_time;
/* compare the avarage sleep/load cycles */ /* compare the average sleep/load cycles */
fprintf(config->output, "%li ", fprintf(config->output, "%li ",
powersave_time / config->cycles); powersave_time / config->cycles);
fprintf(config->output, "%.3f\n", fprintf(config->output, "%.3f\n",