[ntp:questions] strange time behaviour

vhfmeyer at t-online.de vhfmeyer at t-online.de
Mon May 25 20:28:57 UTC 2009


On 25 Mai, 17:37, "David J Taylor" <david-tay... at blueyonder.not-this-
part.nor-this.co.uk.invalid> wrote:

> 1165 hours - 2^32 milliseconds.
>
> Sounds like something rolled over.....
>
> Supposedly this was once a Windows problem, although I've never
> encountered it.  You are reading a millisecond value with a 32-bit
> counter, and it's top bit is overflowing.

That was my first thought, too. But 2^32 milliseconds give 49 days and
17 hours. Where are those 28 hours gone? Since the system is ntp-
controlled, imprecision can't be the reason. I have some amount of CAN-
bus and ethernet interrupts too, so maybe the total interrupt count
could have been 2^32. But there is no total interrupt counter inside
Linux. So where are those 28 hours gone?

Regards, Volker Meyer




More information about the questions mailing list