On 4/1/2015 9:18 AM, Gedare Bloom wrote: > Would you then subtract 1 from uptime when reporting it? Or would > users be expected to know that uptime is off-by-1? I would prefer we subtract one when reporting to the user. > On Wed, Apr 1, 2015 at 4:07 AM, Alexander Krutwig > <alexander.krut...@embedded-brains.de> wrote: >> Hello, >> >> during my work with FreeBSD timecounters, I found out that the FreeBSD >> timecounters start with an uptime value of 1 second. Developers of FreeBSD >> told me that this is due to problems in the ARP code. >> RTEMS uptime is initialized to an uptime value to 0 seconds. >> Are there any problems if the configuration of the RTEMS uptime is also >> initialized to 1 second for synchonization? Else, we would have different >> values for different API functions which is the second option. >> >> Best regards, >> Alexander Krutwig >> >> -- >> -------------------------------------------- >> embedded brains GmbH >> Alexander Krutwig >> Dornierstr. 4 >> D-82178 Puchheim >> Germany >> email: alexander.krut...@embedded-brains.de >> Phone: +49-89-18 94 741 - 17 >> Fax: +49-89-18 94 741 - 09 >> PGP: Public key available on request. >> >> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. >> >> _______________________________________________ >> devel mailing list >> devel@rtems.org >> http://lists.rtems.org/mailman/listinfo/devel > _______________________________________________ > users mailing list > us...@rtems.org > http://lists.rtems.org/mailman/listinfo/users
-- Joel Sherrill, Ph.D. Director of Research & Development joel.sherr...@oarcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel