perf bench: Also allow measuring memset()
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>
This commit is contained in:
committed by
Arnaldo Carvalho de Melo
parent
800eb01484
commit
be3de80dc2
@@ -52,6 +52,9 @@ static struct bench_suite mem_suites[] = {
|
||||
{ "memcpy",
|
||||
"Simple memory copy in various ways",
|
||||
bench_mem_memcpy },
|
||||
{ "memset",
|
||||
"Simple memory set in various ways",
|
||||
bench_mem_memset },
|
||||
suite_all,
|
||||
{ NULL,
|
||||
NULL,
|
||||
|
Reference in New Issue
Block a user