Skip to content
Snippets Groups Projects
Commit 54ba21a9 authored by Niels Möller's avatar Niels Möller
Browse files

(BENCH_INTERVAL): Changed unit to

seconds.
(time_function): Use clock_gettime with CLOCK_PROCESS_CPUTIME_ID,
if available. This gives better accuracy, at least on recent
linux.

Rev: nettle/examples/nettle-benchmark.c:1.9
parent 1578b089
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment