Hitoshi Mitake | c426bba | 2009-11-05 09:31:31 +0900 | [diff] [blame] | 1 | #ifndef BENCH_H |
| 2 | #define BENCH_H |
| 3 | |
Ingo Molnar | 606bc1e | 2009-11-10 20:50:53 +0900 | [diff] [blame] | 4 | extern int bench_sched_messaging(int argc, const char **argv, const char *prefix); |
| 5 | extern int bench_sched_pipe(int argc, const char **argv, const char *prefix); |
Hitoshi Mitake | 827f3b4 | 2009-11-18 00:20:09 +0900 | [diff] [blame] | 6 | extern int bench_mem_memcpy(int argc, const char **argv, const char *prefix __used); |
Hitoshi Mitake | c426bba | 2009-11-05 09:31:31 +0900 | [diff] [blame] | 7 | |
Ingo Molnar | 606bc1e | 2009-11-10 20:50:53 +0900 | [diff] [blame] | 8 | #define BENCH_FORMAT_DEFAULT_STR "default" |
| 9 | #define BENCH_FORMAT_DEFAULT 0 |
| 10 | #define BENCH_FORMAT_SIMPLE_STR "simple" |
| 11 | #define BENCH_FORMAT_SIMPLE 1 |
Hitoshi Mitake | 242aa14 | 2009-11-10 08:19:59 +0900 | [diff] [blame] | 12 | |
Ingo Molnar | 606bc1e | 2009-11-10 20:50:53 +0900 | [diff] [blame] | 13 | #define BENCH_FORMAT_UNKNOWN -1 |
Hitoshi Mitake | 242aa14 | 2009-11-10 08:19:59 +0900 | [diff] [blame] | 14 | |
| 15 | extern int bench_format; |
| 16 | |
Hitoshi Mitake | c426bba | 2009-11-05 09:31:31 +0900 | [diff] [blame] | 17 | #endif |