mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: john stultz <johnstul@us.ibm.com>
Cc: Conio sandiago <coniodiago@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: time function behaving strane
Date: Fri, 03 Feb 2006 20:30:33 +0100	[thread overview]
Message-ID: <1138995034.29087.130.camel@localhost.localdomain> (raw)
In-Reply-To: <1138994370.10057.129.camel@cog.beaverton.ibm.com>

On Fri, 2006-02-03 at 11:19 -0800, john stultz wrote:
> On Fri, 2006-02-03 at 09:45 +0530, Conio sandiago wrote:
> > Hi all,
> > i am using time function in my application.
> > When i call the try function in a loop of say 1 lac iterations then i
> > m facing strange behaviour.
> > 
> > What i am doing is that i am making a call twice to time function
> > inside every iteration and i compare the time of both the calls.
> > But sometimes the time obtained from recent call is 1 second less than
> > the previous call.
> > 
> > Has anybody observed such kind of problem??
> 
> Time inconsistencies are possible with some hardware, although full
> second inconsistencies are a bit large.
> 
> Please open a bug at  http://bugzilla.kernel.org
> 
> Attach a full dmesg log and assign it to me.

Please provide also test code which makes that problem visible.

	tglx



      reply	other threads:[~2006-02-03 19:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-03  4:15 Conio sandiago
2006-02-03 19:19 ` john stultz
2006-02-03 19:30   ` Thomas Gleixner [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=1138995034.29087.130.camel@localhost.localdomain \
    --to=tglx@linutronix.de \
    --cc=coniodiago@gmail.com \
    --cc=johnstul@us.ibm.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®