gettimeofday() and RTEMS
Wendell Silva
silvawp at gmail.com
Thu Jun 5 12:58:18 UTC 2014
Hello,
Are you using RTC driver?
Are you setting the corrent date-time at startup?
Which BSP are we talking about?
--Wendell.
2014-06-05 9:36 GMT-03:00 smc smc <smc101979 at gmail.com>:
> 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.
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20140605/10eaf640/attachment-0001.html>
More information about the users
mailing list