use clock_gettime() instead of clock() in the benchmarking programs to get much better time resolution.