[LinuxPPS] [PATCHv4 13/17] ntp: add hardpps implementation

Rodolfo Giometti giometti at enneenne.com
Sat Nov 20 17:27:18 CET 2010


On Thu, Nov 18, 2010 at 07:01:06PM +0300, Alexander Gordeev wrote:
> This commit adds hardpps() implementation based upon the original one
> from the NTPv4 reference kernel code from David Mills. However, it is
> highly optimized towards very fast syncronization and maximum stickness
> to PPS signal. The typical error is less then a microsecond.
> To make it sync faster I had to throw away exponential phase filter so
> that the full phase offset is corrected immediately. Then I also had to
> throw away median phase filter because it gives a bigger error itself
> if used without exponential filter.
> Maybe we will find an appropriate filtering scheme in the future but
> it's not necessary if the signal quality is ok.

This patch (and follows) adds a new functionality to PPS subsystem, so
let me suggest to you splitting in two parts this patch set: a first
patch set who fixes up the current PPS implementation, and a second
patch set who adds kernel consumer (and follows).

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail: giometti at enneenne.com
Linux Device Driver                          giometti at linux.it
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti
Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it



More information about the LinuxPPS mailing list