[email protected] wrote:
> Hello everybody,
> 
> I'm trying to track (offline) the drift of my gps clock relative to my
> hw clock (the clock that I would have obtained without GPS).
> My final goal is to convert a series of gps timestamps to the
> equivalent hw timestamps (with microsec precision).

This is actually quite easy:

Just enable logging of the loop frequency (i.e. the freq offset), and 
integrate that value over time.

This gives you the offset at any given time.

Alternatively it is in fact possible to run NTP with the corrections 
disabled (or using the local clock as the reference) and then fundge the 
GPS to something like stratum 14 or 15.

In this case the clockstats file will probably log every single GPS 
sample with the current offset between GPS and system clock.

Terje
-- 
- <[email protected]>
"almost all programming can be viewed as an exercise in caching"

_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.org/mailman/listinfo/questions

Reply via email to