[ntp:questions] how to write a reference clock driver

Hal Murray hal-usenet at ip-64-139-1-69.sjc.megapath.net
Thu Dec 11 21:00:01 UTC 2008


>I have already read http://www.eecis.udel.edu/~mills/ntp/html/howto.html
>and started with a copy of refclock_local.c.
>But from the documentation it is not clear, in what way the offset
>should be calculated and used. E.g.:
>offset = ref_clock_time - system_time;
>or
>offset = system_time - ref_clock_time;

Try looking at the source for a couple of other drivers.

-- 
These are my opinions, not necessarily my employer's.  I hate spam.




More information about the questions mailing list