Re: High res timer?

From: Matthias-Christian Ott
Date: Tue May 10 2005 - 15:53:09 EST


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?

Thanks,
Andre
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

What about nanosleep ()?

Matthias-Christian
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/