lkml.org 
[lkml]   [1999]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: gettimeofday is not monotonic
Date
> I think that gettimeofday should be guaranteed to be monotonic.

Yes and no. It should indeed be monotonic for normal uses. There is a specific
SMP problem right now that Ingo had some patches for (if you have a CPU setup
where the TSC's are not in sync which a few boards do).

However on a system data change by root or when xntpd jumps the clock because
its too far out it won't be monotonic. So yes Linux is broken somewhere but
xclock has a minor silly buglet too

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.047 / U:1.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site