Searched refs:freq_adj (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/contrib/ntp/scripts/deprecated/
H A Dfreq_adj.in70 $freq_adj = int ( $drift * ( 10 ** 6 / 2 ** 20) );
71 print "normalized freq_adj is <$freq_adj>\n";
73 $freq_adj = int ( ( $freq_adj - 1 ) / 2 );
74 print "Applying freq_adj of <".-$freq_adj.">\n";
82 $n_mach_freq = $mach_freq - $freq_adj;
/freebsd-12-stable/contrib/ntp/ntpd/
H A Dntp_loopfilter.c951 double freq_adj; local
992 freq_adj = 0.;
995 freq_adj = drift_comp;
998 if (offset_adj + freq_adj > NTP_MAXFREQ)
999 offset_adj = NTP_MAXFREQ - freq_adj;
1000 else if (offset_adj + freq_adj < -NTP_MAXFREQ)
1001 offset_adj = -NTP_MAXFREQ - freq_adj;
1013 adj_systime(offset_adj + freq_adj);

Completed in 71 milliseconds