From: Pavel Machek <pavel@suse.cz>
To: Mayank Sharma <mayanks@sirf.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: Time drifting after multiple sleep/wakeup in timekeeping
Date: Thu, 26 Jun 2008 22:12:17 +0200 [thread overview]
Message-ID: <20080626201216.GD9878@ucw.cz> (raw)
In-Reply-To: <013B1C915F9462459242424413ABB264011AC64C@bnglmail.sirf.com>
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
next prev parent reply other threads:[~2008-06-27 12:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AcjWuXCdruANDkKsEd3GhwAVxR+4QQ==>
2008-06-25 11:48 ` Mayank Sharma
2008-06-26 6:47 ` Bart Van Assche
2008-06-26 8:00 ` Mayank Sharma
2008-06-27 11:05 ` Bart Van Assche
2008-06-27 11:35 ` Mayank Sharma
2008-06-26 20:11 ` Pavel Machek
2008-06-26 20:12 ` Pavel Machek [this message]
2008-07-10 22:09 ` john stultz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080626201216.GD9878@ucw.cz \
--to=pavel@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=mayanks@sirf.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome