Re: gettimeofday() resolution in Linux?

From: Bart Van Assche
Date: Thu Apr 10 2008 - 13:41:34 EST


On Thu, Apr 10, 2008 at 5:59 PM, Jack Harvard
<jack.harvard@xxxxxxxxxxxxxx> wrote:
> Here is an example of gettimeofday results, the time rolls back sometimes.

If the result of gettimeofday() rolls back, and there is no process on
your system that sets the time (like ntpd or hwclock --hctosys) then
this is a kernel bug. Which kernel version are you using, and which
kernel patches have been applied to that kernel ?

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