[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B975CB4.4000804@davidnewall.com>
Date: Wed, 10 Mar 2010 19:17:48 +1030
From: David Newall <davidn@...idnewall.com>
To: Srinivas Nayak <sinu_nayak2001@...oo.co.in>
CC: linux-kernel@...r.kernel.org
Subject: Re: BUG: Is it a bug in Linux time() function or Linux OS calls?
Dear Srinivas Nayak,
I don't suppose you're writing to a network mounted disk, with the
network device's clock about half a second behind your test machine?
Otherwise -- and I'm just guessing here, and will leave it to you to
UTSL -- this could be explained by use of two different algorithms for
converting a higher-resolution time source to the one-second
resolution. A truncation algorithm versus a rounding algorithm could
produce the result you demonstrate.
Regards,
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists