[ntp:questions] Re: Linux PPS triggering with NMEA

Bjorn Gabrielsson bg at lysator.liu.se
Mon May 9 21:29:37 UTC 2005


"David Schwartz" <davids at webmaster.com> writes:

> "Bjorn Gabrielsson" <bg at lysator.liu.se> wrote in message 
> news:m3ekcgp1u6.fsf at lysator.liu.se...
> 
> > "David Schwartz" <davids at webmaster.com> writes:
> 
> >>     You don't need the PPSkit because Linux TIOCMIWAIT. However you will 
> >> get
> >> better accuracy with the PPSkit.
> >> http://www.webchat.org/~jk/shm_linux_clock.c
> 
> > Does it exist a "gettimeofday()"-version or replacement that gives you
> > nano-second resolution from user-space?
> 
>     No. It simply allows Linux to use a PPS input.
> 
>     DS

I know what TIOCMIWAIT gives. Is there a user-space function that can
return time with better than than the 1us resolution that
gettimeofday() gives?

--
        Björn



More information about the questions mailing list