blob: 8f89998eeaf4eeb3fd45388f6aacd34438e2f1f8 [file] [log] [blame]
Hitoshi Mitakec426bba2009-11-05 09:31:31 +09001#ifndef BENCH_H
2#define BENCH_H
3
Ingo Molnar606bc1e2009-11-10 20:50:53 +09004extern int bench_sched_messaging(int argc, const char **argv, const char *prefix);
5extern int bench_sched_pipe(int argc, const char **argv, const char *prefix);
Irina Tirdea1d037ca2012-09-11 01:15:03 +03006extern int bench_mem_memcpy(int argc, const char **argv,
7 const char *prefix __maybe_unused);
Jan Beulichbe3de802012-01-24 10:03:22 -02008extern int bench_mem_memset(int argc, const char **argv, const char *prefix);
Hitoshi Mitakec426bba2009-11-05 09:31:31 +09009
Ingo Molnar606bc1e2009-11-10 20:50:53 +090010#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 Mitake242aa142009-11-10 08:19:59 +090014
Ingo Molnar606bc1e2009-11-10 20:50:53 +090015#define BENCH_FORMAT_UNKNOWN -1
Hitoshi Mitake242aa142009-11-10 08:19:59 +090016
17extern int bench_format;
18
Hitoshi Mitakec426bba2009-11-05 09:31:31 +090019#endif