Home
last modified time | relevance | path

Searched refs:pps_tf (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/sys/kern/
H A Dkern_ntptime.c209 static struct timespec pps_tf[3]; /* phase median filter */ variable
583 pps_tf[0].tv_sec = pps_tf[0].tv_nsec = 0; in ntp_init()
584 pps_tf[1].tv_sec = pps_tf[1].tv_nsec = 0; in ntp_init()
585 pps_tf[2].tv_sec = pps_tf[2].tv_nsec = 0; in ntp_init()
727 v_nsec = u_nsec - pps_tf[0].tv_nsec; in hardpps()
728 if (u_sec == pps_tf[0].tv_sec && v_nsec < NANOSECOND - in hardpps()
731 pps_tf[2] = pps_tf[1]; in hardpps()
732 pps_tf[1] = pps_tf[0]; in hardpps()
733 pps_tf[0].tv_sec = u_sec; in hardpps()
734 pps_tf[0].tv_nsec = u_nsec; in hardpps()
[all …]