The gettimeofday() call returns microseconds.
Is this the most accurate method or is there a better way?
--EDIT--
I did a bit more snooping, and tried clock_gettime(CLOCK_MONOTONIC_RAW,&t1)
to get a timestamp. This appears to be reasonably accurate. Does anyone have any experience
with this to agree or disagree?
Thoughts?
Ed