[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080626201216.GD9878@ucw.cz>
Date: Thu, 26 Jun 2008 22:12:17 +0200
From: Pavel Machek <pavel@...e.cz>
To: Mayank Sharma <mayanks@...f.com>
Cc: lkml <linux-kernel@...r.kernel.org>
Subject: Re: Time drifting after multiple sleep/wakeup in timekeeping
On Wed 2008-06-25 17:18:52, Mayank Sharma wrote:
> Hi,
>
> I noticed a bug with respect to time drifting after multiple sleep/wakeup sequence. We have an embedded ARM11 based platform on which we have successfuly ported Linux. We also have a RTC on board. Hence we have implemented the read_persistent_clock() function overriding the one defined in kernel/time/timekeeping.c. What we observed was that after doing multiple sleep/wakeup sequences, the time reported by RTC and gettimeofday was drifting. After about 10 iterations the gettimeofday was lagging by about one second. Subsequently the lag only increased.
>
Hmm, should I look forward for linux-based gps?
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists