blob: a09bece6dad2f4a3fe246a21b9e22d4d57b4794f [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);
Hitoshi Mitake827f3b42009-11-18 00:20:09 +09006extern int bench_mem_memcpy(int argc, const char **argv, const char *prefix __used);
Jan Beulichbe3de802012-01-24 10:03:22 -02007extern int bench_mem_memset(int argc, const char **argv, const char *prefix);
Hitoshi Mitakec426bba2009-11-05 09:31:31 +09008
Ingo Molnar606bc1e2009-11-10 20:50:53 +09009#define BENCH_FORMAT_DEFAULT_STR "default"
10#define BENCH_FORMAT_DEFAULT 0
11#define BENCH_FORMAT_SIMPLE_STR "simple"
12#define BENCH_FORMAT_SIMPLE 1
Hitoshi Mitake242aa142009-11-10 08:19:59 +090013
Ingo Molnar606bc1e2009-11-10 20:50:53 +090014#define BENCH_FORMAT_UNKNOWN -1
Hitoshi Mitake242aa142009-11-10 08:19:59 +090015
16extern int bench_format;
17
Hitoshi Mitakec426bba2009-11-05 09:31:31 +090018#endif