public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: Andre Eisenbach <int2str@gmail.com>
Cc: Matthias-Christian Ott <matthias.christian@tiscali.de>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: High res timer?
Date: Tue, 10 May 2005 17:29:01 -0400	[thread overview]
Message-ID: <1115760541.14807.11.camel@mindpipe> (raw)
In-Reply-To: <7f800d9f050510141626f70ee4@mail.gmail.com>

On Tue, 2005-05-10 at 14:16 -0700, Andre Eisenbach wrote:
> 2005/5/10, Matthias-Christian Ott <matthias.christian@tiscali.de>:
> >
> > What about nanosleep ()?
> > 
> 
> nanosleep() seems to have some latency very similar to usleep(). Isn't
> usleep based on nanosleep()?
> 
> Here's what I get if I try to nanosleep for 5 secs (for testing):
> 
> -> 5.009952 s
> 
> The .009952 part varies, but is very close to that usually.

Is this a 2.4 kernel?  The resolution on 2.6 should be 1ms, not ~10ms.

Lee


  reply	other threads:[~2005-05-10 21:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-10 20:27 High res timer? Andre Eisenbach
2005-05-10 20:34 ` Lee Revell
2005-05-10 21:18   ` Andre Eisenbach
2005-05-10 20:38 ` Lee Revell
2005-05-10 20:45 ` Matthias-Christian Ott
2005-05-10 21:16   ` Andre Eisenbach
2005-05-10 21:29     ` Lee Revell [this message]
2005-05-10 21:41       ` Andre Eisenbach
2005-05-10 21:53 ` George Anzinger

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=1115760541.14807.11.camel@mindpipe \
    --to=rlrevell@joe-job.com \
    --cc=int2str@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthias.christian@tiscali.de \
    /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