Factorize timing functions to a separate file
This avoids unconditionally using clock_gettime in {ecc,hogweed}-benchmark, falling back to clock() in these as well. This makes building succeed on e.g. OS X.
Showing
- examples/Makefile.in 9 additions, 7 deletionsexamples/Makefile.in
- examples/ecc-benchmark.c 5 additions, 21 deletionsexamples/ecc-benchmark.c
- examples/hogweed-benchmark.c 5 additions, 21 deletionsexamples/hogweed-benchmark.c
- examples/nettle-benchmark.c 3 additions, 66 deletionsexamples/nettle-benchmark.c
- examples/timing.c 110 additions, 0 deletionsexamples/timing.c
- examples/timing.h 30 additions, 0 deletionsexamples/timing.h
Loading
Please register or sign in to comment