2009-11-04 17:31:31 -07:00
|
|
|
#ifndef BENCH_H
|
|
|
|
#define BENCH_H
|
|
|
|
|
2009-11-10 04:50:53 -07: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);
|
2009-11-17 08:20:09 -07:00
|
|
|
extern int bench_mem_memcpy(int argc, const char **argv, const char *prefix __used);
|
2012-01-24 05:03:22 -07:00
|
|
|
extern int bench_mem_memset(int argc, const char **argv, const char *prefix);
|
2009-11-04 17:31:31 -07:00
|
|
|
|
2009-11-10 04:50:53 -07: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-09 16:19:59 -07:00
|
|
|
|
2009-11-10 04:50:53 -07:00
|
|
|
#define BENCH_FORMAT_UNKNOWN -1
|
2009-11-09 16:19:59 -07:00
|
|
|
|
|
|
|
extern int bench_format;
|
|
|
|
|
2009-11-04 17:31:31 -07:00
|
|
|
#endif
|