[lkml]   [2005]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: High res timer?
    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
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-05-11 03:23    [W:0.203 / U:35.228 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site