Re: Uptime difference between FreeBSD and RTEMS

2015-04-01 Thread Sebastian Huber
On 02/04/15 03:22, Chris Johns wrote: On 1/04/2015 7:07 pm, Alexander Krutwig wrote: 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 uptim

Re: Uptime difference between FreeBSD and RTEMS

2015-04-01 Thread Chris Johns
On 1/04/2015 7:07 pm, Alexander Krutwig wrote: > > 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

Re: Uptime difference between FreeBSD and RTEMS

2015-04-01 Thread Gedare Bloom
On Wed, Apr 1, 2015 at 2:42 PM, Sebastian Huber wrote: > > - Joel Sherrill schrieb: >> >> >> 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 on

Re: Uptime difference between FreeBSD and RTEMS

2015-04-01 Thread Sebastian Huber
- Joel Sherrill schrieb: > > > 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. The question is reporting via wh

Re: Uptime difference between FreeBSD and RTEMS

2015-04-01 Thread Joel Sherrill
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 > wrote: >> Hello, >> >

Re: Uptime difference between FreeBSD and RTEMS

2015-04-01 Thread Gedare Bloom
Would you then subtract 1 from uptime when reporting it? Or would users be expected to know that uptime is off-by-1? On Wed, Apr 1, 2015 at 4:07 AM, Alexander Krutwig wrote: > Hello, > > during my work with FreeBSD timecounters, I found out that the FreeBSD > timecounters start with an uptime val