[ntp:bugs] [Bug 1152] parse, true, and msfees refclocks reference deleted pps_sample()
Reg Clemens
reg at dwf.com
Tue Apr 14 17:29:38 UTC 2009
> http://bugs.ntp.org/1152
>
>
>
> ----------------------------------------------------------------------------
> Additional Comments From brian.utterback at sun.com (Brian Utterback)
> Submitted on 2009-04-14 15:00
>
> I was looking at what it would take to move pps_sample into the library, but I
> am confused. Dave says that the ATOM driver no longer needs pps_sample. But
> pps_sample is just setting an offset to be consumed by another driver. If the
> ATOM driver isn't consuming the offset, then what driver is?
>
> --
[reg at deneb ~/ntp]$ cd *p153
[reg at deneb ntp-dev-4.2.5p153]$ cd ntpd
[reg at deneb ntpd]$ grep pps_sample *
Binary file libntpd.a matches
Binary file ntpd matches
refclock_atom.c: * proviced to call the pps_sample() routine from another driver. Please
refclock_atom.c: * pps_sample - receive PPS data from some other clock driver
refclock_atom.c:pps_sample(
refclock_atom.c:pps_sample(
Binary file refclock_atom.o matches
refclock_msfees.c: int call_pps_sample = 0;
refclock_msfees.c: if (L_ISNEG(&diff)) { /* AOK -- pps_sample */
refclock_msfees.c: call_pps_sample++;
refclock_msfees.c: if (L_ISNEG(&diff)) { /* AOK -- pps_sample */
refclock_msfees.c: call_pps_sample++;
refclock_msfees.c: call_pps_sample, pps_step);
refclock_msfees.c: if (call_pps_sample && !(dbg & DB_NO_PPS)) {
refclock_msfees.c: (void) pps_sample(peer, &pps_arrvstamp);
refclock_parse.c: (void) pps_sample(&parse->timedata.parse_ptime.fp);
refclock_true.c: * Create a true offset for feeding to pps_sample()
refclock_true.c: pps_sample(peer, &off);
--
Reg.Clemens
reg at dwf.com
More information about the bugs
mailing list