AnsweredAssumed Answered

Most accurate way to get elapsed time (in microseconds) on iMX6?

Question asked by Ed Sutter on Aug 12, 2014
Latest reply on Aug 20, 2014 by Ed Sutter

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

Outcomes