diff --git a/ChangeLog b/ChangeLog index 611b926207c57109f75777ea9e9c54327d5106ce..7fdd1ff7df837e4c3bc5a26fe5b82a34b54a50e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2010-09-22 Niels M�ller <nisse@turmalin.hack.org> + + * examples/nettle-benchmark.c (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. + + * examples/Makefile.in (nettle-benchmark): Link using + $(BENCH_LIBS) rather than $(LIBS). + + * configure.ac: Check for clock_gettime, and add -lrt to + BENCH_LIBS if needed. + 2010-09-20 Niels M�ller <nisse@turmalin.hack.org> * configure.ac: Less quoting when invoking $CC, to allow CC="gcc