Re: gettimeofday() non-monotonic on uniprocessor system with ntp turned off?

From: Paul Mackerras (paulus@linuxcare.com.au)
Date: Tue Dec 19 2000 - 22:51:42 EST


Christopher Friesen writes:

> I am having a little bit of a problem. I'm on a single processor G4 system
> running 2.2.17 and I do not have ntp turned on. However, successive calls to
> gettimeofday() occasionally return results that make it look as though time was
> running backwards.

Looking at the code in the kernel, I can't see why this would happen.
Could you send me the code for your test program so I can chase this?

Paul.

-- 
Paul Mackerras, Senior Open Source Researcher, Linuxcare, Inc.
+61 2 6262 8990 tel, +61 2 6262 8991 fax
paulus@linuxcare.com.au, http://www.linuxcare.com.au/
Linuxcare.  Support for the revolution.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 23 2000 - 21:00:26 EST