From: bert hubert <bert.hubert@netherlabs.nl>
To: Christopher Friesen <cfriesen@nortel.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: do_gettimeofday monotony?
Date: Mon, 25 Jul 2005 18:34:05 +0200 [thread overview]
Message-ID: <20050725163404.GB12931@outpost.ds9a.nl> (raw)
In-Reply-To: <42E50159.6050901@nortel.com>
On Mon, Jul 25, 2005 at 11:12:25AM -0400, Christopher Friesen wrote:
> >Is do_gettimeofday supposed to be monotonous?
>
> Nope.
>
> > I'm seeing time go backward by tiny amounts, and then progressing.
>
> Are you running NTP? Corrections could cause this.
No. I am running a machine which often changes it clockspeed though. The bad
news is that I don't appear to be able to reproduce this, there must be
something specific that causes it. But then again, it wasn't a large effect.
> >Is there another monotonous clock in the kernel that doesn't wrap (all
> >that often)? Doesn't really need to be wall time.
>
> clock_gettime()
Thank you.
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://netherlabs.nl Open and Closed source services
prev parent reply other threads:[~2005-07-25 16:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-24 18:26 bert hubert
2005-07-25 15:12 ` Christopher Friesen
2005-07-25 16:34 ` bert hubert [this message]
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=20050725163404.GB12931@outpost.ds9a.nl \
--to=bert.hubert@netherlabs.nl \
--cc=cfriesen@nortel.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®