Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dkern_ntptime.c191 static struct timespec pps_tf[3]; /* phase median filter */ variable
770 v_nsec = u_nsec - pps_tf[0].tv_nsec; in hardpps()
771 if (u_sec == pps_tf[0].tv_sec && v_nsec < NANOSECOND - MAXFREQ) in hardpps()
773 pps_tf[2] = pps_tf[1]; in hardpps()
774 pps_tf[1] = pps_tf[0]; in hardpps()
775 pps_tf[0].tv_sec = u_sec; in hardpps()
776 pps_tf[0].tv_nsec = u_nsec; in hardpps()
793 if (pps_tf[0].tv_nsec > pps_tf[1].tv_nsec) { in hardpps()
794 if (pps_tf[1].tv_nsec > pps_tf[2].tv_nsec) { in hardpps()
795 v_nsec = pps_tf[1].tv_nsec; /* 0 1 2 */ in hardpps()
[all …]