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