I am trying to get some basic timing in a dsplink application. When I use gettimeofday() on the arm side of the app, the tv_usec field returned in timeval is sometimes negative, and the values I do get don't necessarily make much sense. I'm using a slightly modified version of the loop application to perform these benchmarks.
When I use gettimeofday() in a standalone arm application, it seems to work fine.
Any clue what I should look at?
Thanks,
Chris