aboutsummaryrefslogtreecommitdiffstats
path: root/tools/power/cpupower/bench/main.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2011-04-19 13:20:12 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2011-07-29 12:35:38 -0400
commit02af3cb5aac13d8ef7edb7876260564b7d42ad2b (patch)
tree6e5294ee57cb10340bd31301e7b38a29d4a6a054 /tools/power/cpupower/bench/main.c
parentf5ac0641d129348399a8f39c95e7a16dc6e19f53 (diff)
cpupowerutils: bench - ConfigStyle bugfixes
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'tools/power/cpupower/bench/main.c')
-rw-r--r--tools/power/cpupower/bench/main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/power/cpupower/bench/main.c b/tools/power/cpupower/bench/main.c
index 60953fc93431..24910313a521 100644
--- a/tools/power/cpupower/bench/main.c
+++ b/tools/power/cpupower/bench/main.c
@@ -28,8 +28,7 @@
28#include "system.h" 28#include "system.h"
29#include "benchmark.h" 29#include "benchmark.h"
30 30
31static struct option long_options[] = 31static struct option long_options[] = {
32{
33 {"output", 1, 0, 'o'}, 32 {"output", 1, 0, 'o'},
34 {"sleep", 1, 0, 's'}, 33 {"sleep", 1, 0, 's'},
35 {"load", 1, 0, 'l'}, 34 {"load", 1, 0, 'l'},
@@ -50,7 +49,7 @@ static struct option long_options[] =
50 usage 49 usage
51*******************************************************************/ 50*******************************************************************/
52 51
53void usage() 52void usage()
54{ 53{
55 printf("usage: ./bench\n"); 54 printf("usage: ./bench\n");
56 printf("Options:\n"); 55 printf("Options:\n");
@@ -67,7 +66,7 @@ void usage()
67 printf(" -o, --output=<dir>\t\t\toutput path. Filename will be OUTPUTPATH/benchmark_TIMESTAMP.log\n"); 66 printf(" -o, --output=<dir>\t\t\toutput path. Filename will be OUTPUTPATH/benchmark_TIMESTAMP.log\n");
68 printf(" -v, --verbose\t\t\t\tverbose output on/off\n"); 67 printf(" -v, --verbose\t\t\t\tverbose output on/off\n");
69 printf(" -h, --help\t\t\t\tPrint this help screen\n"); 68 printf(" -h, --help\t\t\t\tPrint this help screen\n");
70 exit (1); 69 exit(1);
71} 70}
72 71
73/******************************************************************* 72/*******************************************************************