On Sun, May 31, 2009 at 5:18 PM, Juergen Beisert <[email protected]> wrote: > Another question: How does the time flow works? I read > the "refclock_hopfpci.c" clock driver, as it also does not use a serial > device. It does something in "hopfpci_poll" (struct refclock.clock_poll). > But the comment of this function (and in all the other implementations I > found) is: "called by the transmit procedure". ????? Will this function be > called periodically (by ntp)? Or does the clock driver trigger something to > let it be called?
It is called once per polling interval, which for a refclock is typically either 64s (default) or 16s (minpoll 4 on the server 127.127.t.u line). If you want to be called once per second, there's a relatively new timer callback you can set in struct refclock, at least with current -dev (4.2.5). Cheers, Dave Hart _______________________________________________ questions mailing list [email protected] https://lists.ntp.org/mailman/listinfo/questions
