gettimeofday() and RTEMS

smc smc smc101979 at gmail.com
Thu Jun 5 12:36:03 UTC 2014


Hello, I am not sure if this question must be sent here, but I am using the
gettimeofday() C function with RTEMS. The appl. running on my laptop works
fine. However, it returns negative values when it is run under RTEMS. In
fact, the usec argument for the second gettimneofday() call returns a lower
value than the first call to gettimeofday().

Do you have any idea about what it is happening. Is it just concerned to
the used machine and not RTEMS?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20140605/738a94ec/attachment.html>


More information about the users mailing list