Commit 07f9e436 authored by Niels Möller's avatar Niels Möller
Browse files

(time_memxor): Count size of unsigned long as "block size" for memxor.

Rev: nettle/examples/nettle-benchmark.c:1.12
parent ce5b04aa
......@@ -284,9 +284,11 @@ time_memxor(void)
info.src = src;
info.dst = dst;
display ("memxor", "aligned", 0, time_function(bench_memxor, &info));
display ("memxor", "aligned", sizeof(unsigned long),
time_function(bench_memxor, &info));
info.src++;
display ("memxor", "unaligned", 0, time_function(bench_memxor, &info));
display ("memxor", "unaligned", sizeof(unsigned long),
time_function(bench_memxor, &info));
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment