summaryrefslogtreecommitdiffstats
path: root/tools/perf/bench/bench.h
blob: f7781c6267c06098fa2ad1376e60c69fe2497ffb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef BENCH_H
#define BENCH_H

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);
extern int bench_mem_memcpy(int argc, const char **argv, const char *prefix __used);

#define BENCH_FORMAT_DEFAULT_STR	"default"
#define BENCH_FORMAT_DEFAULT		0
#define BENCH_FORMAT_SIMPLE_STR		"simple"
#define BENCH_FORMAT_SIMPLE		1

#define BENCH_FORMAT_UNKNOWN		-1

extern int bench_format;

#endif
OpenPOWER on IntegriCloud