mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
This simply clones the respective memcpy() implementation. Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jan Beulich <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
19 lines
574 B
C
19 lines
574 B
C
#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);
|
|
extern int bench_mem_memset(int argc, const char **argv, const char *prefix);
|
|
|
|
#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
|