2009-11-05 08:31:31 +08:00
|
|
|
#ifndef BENCH_H
|
|
|
|
#define BENCH_H
|
|
|
|
|
2009-11-10 19:50:53 +08:00
|
|
|
extern int bench_sched_messaging(int argc, const char **argv, const char *prefix);
|
|
|
|
extern int bench_sched_pipe(int argc, const char **argv, const char *prefix);
|
2012-09-11 06:15:03 +08:00
|
|
|
extern int bench_mem_memcpy(int argc, const char **argv,
|
|
|
|
const char *prefix __maybe_unused);
|
2012-01-24 20:03:22 +08:00
|
|
|
extern int bench_mem_memset(int argc, const char **argv, const char *prefix);
|
2009-11-05 08:31:31 +08:00
|
|
|
|
2009-11-10 19:50:53 +08:00
|
|
|
#define BENCH_FORMAT_DEFAULT_STR "default"
|
|
|
|
#define BENCH_FORMAT_DEFAULT 0
|
|
|
|
#define BENCH_FORMAT_SIMPLE_STR "simple"
|
|
|
|
#define BENCH_FORMAT_SIMPLE 1
|
2009-11-10 07:19:59 +08:00
|
|
|
|
2009-11-10 19:50:53 +08:00
|
|
|
#define BENCH_FORMAT_UNKNOWN -1
|
2009-11-10 07:19:59 +08:00
|
|
|
|
|
|
|
extern int bench_format;
|
|
|
|
|
2009-11-05 08:31:31 +08:00
|
|
|
#endif
|