summaryrefslogtreecommitdiff
path: root/tools/power/cpupower/bench/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/power/cpupower/bench/parse.h')
-rw-r--r--tools/power/cpupower/bench/parse.h13
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 */