mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
be3de80dc2
This simply clones the respective memcpy() implementation. Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/4F16D743020000780006D735@nat28.tlf.novell.com Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
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
|