Home
last modified time | relevance | path

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

/src/contrib/ntp/ntpd/ !
H A Dntp_loopfilter.c947 double offset_adj; in adj_host_clock() local
969 offset_adj = 0.; in adj_host_clock()
971 offset_adj = clock_offset / (CLOCK_PLL * ULOGTOD(1)); in adj_host_clock()
975 offset_adj = 0.; in adj_host_clock()
978 offset_adj = clock_offset / (CLOCK_PLL * ULOGTOD(sys_poll)); in adj_host_clock()
995 if (offset_adj + freq_adj > NTP_MAXFREQ) in adj_host_clock()
996 offset_adj = NTP_MAXFREQ - freq_adj; in adj_host_clock()
997 else if (offset_adj + freq_adj < -NTP_MAXFREQ) in adj_host_clock()
998 offset_adj = -NTP_MAXFREQ - freq_adj; in adj_host_clock()
1000 clock_offset -= offset_adj; in adj_host_clock()
[all …]