Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/ntp/dist/util/
H A Dkern.c56 long time_phase = 0; /* phase offset (scaled us) */ variable
160 time_phase += time_adj; in hardclock()
161 if (time_phase < -FINEUSEC) { in hardclock()
162 ltemp = -time_phase >> SHIFT_SCALE; in hardclock()
163 time_phase += ltemp << SHIFT_SCALE; in hardclock()
166 else if (time_phase > FINEUSEC) { in hardclock()
167 ltemp = time_phase >> SHIFT_SCALE; in hardclock()
168 time_phase -= ltemp << SHIFT_SCALE; in hardclock()