[lkml]   [2010]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 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.



 \ /
  Last update: 2010-03-10 09:51    [W:0.028 / U:4.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site