Re: AW: AW: Accessing the tty structure of an opened device

2000-11-02 Thread Warner Losh
In message 10553.972652114@critter Poul-Henning Kamp writes: : the time between a pulse and a space often only takes : a few milliseconds. I have to meassure that with : gettimeofday(). : : You will need to do this in a device driver, there is no way you : can reliably measure that from

Re: AW: AW: Accessing the tty structure of an opened device

2000-11-02 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Warner Losh writes: And the advantage of the pps api is that it queues up events (iirc) and counts them so you know if the buffer overflowed and you missed any. Sorry: not it doesn't. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED]

AW: AW: Accessing the tty structure of an opened device

2000-10-27 Thread Alexander Maret
From: Poul-Henning Kamp [mailto:[EMAIL PROTECTED]] Subject: Re: AW: Accessing the tty structure of an opened device How fast do these pulses arrive ? Consider using the PPS-API for that: sys/timepps.h the time between a pulse and a space often only takes a few milliseconds. I have

Re: AW: AW: Accessing the tty structure of an opened device

2000-10-27 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Alexa nder Maret writes: From: Poul-Henning Kamp [mailto:[EMAIL PROTECTED]] Subject: Re: AW: Accessing the tty structure of an opened device How fast do these pulses arrive ? Consider using the PPS-API for that: sys/timepps.h the time between a pulse