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