blob: a5223e6a7b432a0b04faf5ba5dfc130cd9ed150e [file] [log] [blame]
Hitoshi Mitakec426bba2009-11-05 09:31:31 +09001#ifndef BENCH_H
2#define BENCH_H
3
Ingo Molnar1c13f3c2012-12-06 13:51:59 +01004extern int bench_numa(int argc, const char **argv, const char *prefix);
Ingo Molnar606bc1e2009-11-10 20:50:53 +09005extern int bench_sched_messaging(int argc, const char **argv, const char *prefix);
6extern int bench_sched_pipe(int argc, const char **argv, const char *prefix);
Irina Tirdea1d037ca2012-09-11 01:15:03 +03007extern int bench_mem_memcpy(int argc, const char **argv,
8 const char *prefix __maybe_unused);
Jan Beulichbe3de802012-01-24 10:03:22 -02009extern int bench_mem_memset(int argc, const char **argv, const char *prefix);
Hitoshi Mitakec426bba2009-11-05 09:31:31 +090010
Ingo Molnar606bc1e2009-11-10 20:50:53 +090011#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 Mitake242aa142009-11-10 08:19:59 +090015
Ingo Molnar606bc1e2009-11-10 20:50:53 +090016#define BENCH_FORMAT_UNKNOWN -1
Hitoshi Mitake242aa142009-11-10 08:19:59 +090017
18extern int bench_format;
19
Hitoshi Mitakec426bba2009-11-05 09:31:31 +090020#endif