Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/util/
H A Dkern.c160 ltemp = -time_phase >> SHIFT_SCALE; in hardclock()
161 time_phase += ltemp << SHIFT_SCALE; in hardclock()
165 ltemp = time_phase >> SHIFT_SCALE; in hardclock()
166 time_phase -= ltemp << SHIFT_SCALE; in hardclock()
192 (SHIFT_SCALE - SHIFT_HZ - SHIFT_UPDATE)); in second_overflow()
198 (SHIFT_SCALE - SHIFT_HZ - SHIFT_UPDATE); in second_overflow()
201 time_adj -= -time_freq >> (SHIFT_KF + SHIFT_HZ - SHIFT_SCALE); in second_overflow()
203 time_adj += time_freq >> (SHIFT_KF + SHIFT_HZ - SHIFT_SCALE); in second_overflow()
204 time_adj += fixtick << (SHIFT_SCALE - SHIFT_HZ); in second_overflow()
/freebsd/contrib/ntp/kernel/sys/
H A Dtimex.h121 #define SHIFT_SCALE 22 /* phase scale (shift) */ macro
124 #define FINEUSEC (1L << SHIFT_SCALE) /* 1 us in phase units */