Messages in this thread | | | From | (Alan Cox) | Subject | Re: gettimeofday is not monotonic | Date | Mon, 22 Feb 1999 22:37:54 +0000 (GMT) |
| |
> 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/
| |