All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Anzinger <george@mvista.com>
To: Andre Eisenbach <int2str@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: High res timer?
Date: Tue, 10 May 2005 14:53:24 -0700	[thread overview]
Message-ID: <42812D54.2070500@mvista.com> (raw)
In-Reply-To: <7f800d9f050510132762f0ee7@mail.gmail.com>

Andre Eisenbach wrote:
> Hello!
> 
> We're currently using pth_usleep() as a timer for a userspace audio
> application. However, it doesn't seem very accurate and reliable. Is
> there a better (more accurate) timer that we can call form a userspace
> application?

You don't say what resolution you want, but to ~ 1 ms, nanosleep or 
clock_nanosleep should work.  If you need better resolution, check out the HRT 
patch, see sig. below.

-- 
George Anzinger   george@mvista.com
High-res-timers:  http://sourceforge.net/projects/high-res-timers/

      parent reply	other threads:[~2005-05-11  1:18 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
2005-05-10 21:41       ` Andre Eisenbach
2005-05-10 21:53 ` George Anzinger [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=42812D54.2070500@mvista.com \
    --to=george@mvista.com \
    --cc=int2str@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.