mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: john stultz <johnstul@us.ibm.com>
To: Conio sandiago <coniodiago@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: time function behaving strane
Date: Fri, 03 Feb 2006 11:19:30 -0800	[thread overview]
Message-ID: <1138994370.10057.129.camel@cog.beaverton.ibm.com> (raw)
In-Reply-To: <993d182d0602022015j70bff250x2524c6c5917be2a7@mail.gmail.com>

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.

thanks
-john



  reply	other threads:[~2006-02-03 19:19 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 [this message]
2006-02-03 19:30   ` Thomas Gleixner

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=1138994370.10057.129.camel@cog.beaverton.ibm.com \
    --to=johnstul@us.ibm.com \
    --cc=coniodiago@gmail.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®