Searched refs:MINSTEP (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/contrib/ntp/util/
H A Dprecision.c35 * IF the difference from the last time is "small" (< MINSTEP)
46 * Making it even greater allows MINSTEP to be reduced, assuming that the
47 * chance of MINSTEP-1 other processes getting in and calling gettimeofday
49 * Reducing MINSTEP may be necessary as this sets an upper bound for the time
55 #define MINSTEP 5 /* some systems increment uS on each call */ macro
79 if (diff > MINSTEP) if (minsteps-- <= 0) break;
109 * the difference is greater than zero and less than MINSTEP, the
154 if (diff > MINSTEP) {
165 val = MINSTEP; /* val <= MINSTEP; fas
[all...]
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_msfees.c338 #define MINSTEP 5 /* some systems increment uS on each call */ macro
H A Dntp_proto.c5047 #define MINSTEP 20e-9 /* minimum clock increment (s) */ macro
5050 #define MAXLOOPS ((int)(1. / MINSTEP)) /* avoid infinite loop */
5055 * clock. However, if a difference is less than MINSTEP, the clock has
5057 * ignored. We set MINSTEP greater than zero in case something happens
5103 l_fp minstep; /* MINSTEP as l_fp */
5118 DTOLFP(MINSTEP, &minstep);
5136 msyslog(LOG_ERR, "Fatal error: precision could not be measured (MINSTEP too large?)");

Completed in 121 milliseconds