lkml.org 
[lkml]   [1999]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectMicrosecond resolution timers - final word
    Greetings,

    I'm in the middle of writing a driver for some obscure hardware I have.
    Problem is, it requires some very specific timing: in some places, it expects
    a response to a request within 20-40 microseconds. (Device is accessed via the
    parallel port.)

    Now, I've studied pretty much every source I have regarding this sort of
    timing (this list archive, kernel source, etc), and it seems that gettimeofday
    is the call I need. But I can find information about the specifics of this
    function, quirks, etc.

    Will this function do the job I'm after, or would something else be better? And
    are there any issues I should be aware of regarding its use? If possible, I'd
    like have this work on a stock kernel.

    TIA,
    Rob.


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

    \
     
     \ /
      Last update: 2005-03-22 13:53    [W:0.030 / U:31.936 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site