diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2011-04-19 21:20:12 +0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2011-07-29 20:35:38 +0400 |
commit | 02af3cb5aac13d8ef7edb7876260564b7d42ad2b (patch) | |
tree | 6e5294ee57cb10340bd31301e7b38a29d4a6a054 /tools/power/cpupower/bench/parse.h | |
parent | f5ac0641d129348399a8f39c95e7a16dc6e19f53 (diff) | |
download | linux-02af3cb5aac13d8ef7edb7876260564b7d42ad2b.tar.xz |
cpupowerutils: bench - ConfigStyle bugfixes
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'tools/power/cpupower/bench/parse.h')
-rw-r--r-- | tools/power/cpupower/bench/parse.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tools/power/cpupower/bench/parse.h b/tools/power/cpupower/bench/parse.h index 9fcdfa23dd9c..a8dc632d9eee 100644 --- a/tools/power/cpupower/bench/parse.h +++ b/tools/power/cpupower/bench/parse.h @@ -20,19 +20,22 @@ /* struct that holds the required config parameters */ struct config { - long sleep; /* sleep time in µs */ - long load; /* load time in µs */ + long sleep; /* sleep time in µs */ + long load; /* load time in µs */ long sleep_step; /* time value which changes the - * sleep time after every round in µs */ + * sleep time after every round in µs */ long load_step; /* time value which changes the - * load time after every round in µs */ + * load time after every round in µs */ unsigned int cycles; /* calculation cycles with the same sleep/load time */ unsigned int rounds; /* calculation rounds with iterated sleep/load time */ unsigned int cpu; /* cpu for which the affinity is set */ char governor[15]; /* cpufreq governor */ enum sched_prio /* possible scheduler priorities */ { - SCHED_ERR=-1,SCHED_HIGH, SCHED_DEFAULT, SCHED_LOW + SCHED_ERR = -1, + SCHED_HIGH, + SCHED_DEFAULT, + SCHED_LOW } prio; unsigned int verbose; /* verbose output */ |