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); |
Irina Tirdea | 1d037ca | 2012-09-11 01:15:03 +0300 | [diff] [blame] | 6 | extern int bench_mem_memcpy(int argc, const char **argv, |
| 7 | const char *prefix __maybe_unused); |
Jan Beulich | be3de80 | 2012-01-24 10:03:22 -0200 | [diff] [blame] | 8 | extern int bench_mem_memset(int argc, const char **argv, const char *prefix); |
Hitoshi Mitake | c426bba | 2009-11-05 09:31:31 +0900 | [diff] [blame] | 9 | |
Ingo Molnar | 606bc1e | 2009-11-10 20:50:53 +0900 | [diff] [blame] | 10 | #define BENCH_FORMAT_DEFAULT_STR "default" |
| 11 | #define BENCH_FORMAT_DEFAULT 0 |
| 12 | #define BENCH_FORMAT_SIMPLE_STR "simple" |
| 13 | #define BENCH_FORMAT_SIMPLE 1 |
Hitoshi Mitake | 242aa14 | 2009-11-10 08:19:59 +0900 | [diff] [blame] | 14 | |
Ingo Molnar | 606bc1e | 2009-11-10 20:50:53 +0900 | [diff] [blame] | 15 | #define BENCH_FORMAT_UNKNOWN -1 |
Hitoshi Mitake | 242aa14 | 2009-11-10 08:19:59 +0900 | [diff] [blame] | 16 | |
| 17 | extern int bench_format; |
| 18 | |
Hitoshi Mitake | c426bba | 2009-11-05 09:31:31 +0900 | [diff] [blame] | 19 | #endif |