[LAD] Re: Admissable clock inaccuracy for MIDI
Fons Adriaensen <[email protected]>
| Newsgroups | gmane.linux.audio.devel |
|---|---|
| Message-ID | <Y/[email protected]> |
On Wed, Feb 22, 2023 at 03:42:00PM +0100, Fons Adriaensen wrote:
> BTW, just using
>
> sem_timedwait ()
>
> in a RT thread I get
>
> Min ~ 60 us
> Max ~ 135 us
> Average ~ 74 us.
And using
clock_nanosleep (CLOCK_MONOTONIC, TIMER_ABSTIME, &T, 0);
in a RT thread I get
Min ~ 5 us
Max ~ 105 us
Average ~ 23 us
No need for any special libraries...
Ciao,
--
FA
_______________________________________________
Linux-audio-dev mailing list -- linux-audio-dev-cunTk1MwBs/[email protected]
To unsubscribe send an email to linux-audio-dev-leave-cunTk1MwBs/[email protected]