rzezeski/libMicro

Fallback to clock_gettime() for getnsecs()

Closed this issue · 0 comments

Linux does not have gethrtime(), reverting to gettimeofday() for benchmark measurements resulting in microsecond resolution. The fallback should instead be POSIX clock_gettime(), which provides nanosecond resolution.