Searched refs:sys_tick (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/contrib/ntp/libntp/
H A Dsystime.c54 * The sys_tick variable specifies the system clock tick interval in
58 * at least MINSTEP greater than the prior, sys_tick is the time to read
63 * using get_systime() after sys_tick and sys_fuzz have been determined,
71 * quantized to sys_tick, if sys_tick is greater than sys_fuzz, which
78 double sys_tick = 0; /* tick size or time to read (s) */ variable
81 double measured_tick; /* non-overridable sys_tick (s) */
83 int trunc_os_clock; /* sys_tick > measured_tick */
163 ticks = (long)((tsp->tv_nsec * 1e-9) / sys_tick);
164 tsp->tv_nsec = (long)(ticks * 1e9 * sys_tick);
[all...]
/freebsd-13-stable/contrib/ntp/ntpd/
H A Dntpsim.c572 ticks = (long)(dtemp / sys_tick + .5);
573 adjtv.tv_usec = (long)(ticks * sys_tick * 1e6);
H A Dntp_io.c3400 if (sys_tick > measured_tick &&
3401 sys_tick > 1e-9) {
3402 ticks = (unsigned long)(nts.l_uf / (unsigned long)(sys_tick * FRAC));
3403 nts.l_uf = (unsigned long)(ticks * (unsigned long)(sys_tick * FRAC));
3415 if (sys_tick > measured_tick &&
3416 sys_tick > 1e-9) {
3418 sys_tick);
3420 sys_tick);
3433 if (sys_tick > measured_tick &&
3434 sys_tick >
[all...]
H A Dntp_proto.c5062 * sys_tick and sys_precision represent the time to read the clock for
5085 sys_tick * 1e6, sys_precision);
5086 if (sys_fuzz < sys_tick) {
5173 sys_tick = tick;
/freebsd-13-stable/contrib/ntp/include/
H A Dntp_stdlib.h281 extern double sys_tick; /* tick size or time to read */
282 extern double measured_tick; /* non-overridable sys_tick */
284 extern int trunc_os_clock; /* sys_tick > measured_tick */

Completed in 186 milliseconds