Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Wim Lewis
nettle
Commits
07f9e436
Commit
07f9e436
authored
Sep 30, 2010
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(time_memxor): Count size of unsigned long as "block size" for memxor.
Rev: nettle/examples/nettle-benchmark.c:1.12
parent
ce5b04aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
examples/nettle-benchmark.c
examples/nettle-benchmark.c
+4
-2
No files found.
examples/nettle-benchmark.c
View file @
07f9e436
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment