• Niels Möller's avatar
    (BENCH_INTERVAL): Changed unit to · 54ba21a9
    Niels Möller authored
    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
    54ba21a9
nettle-benchmark.c 9.87 KB