Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/os/
H A Dclock.c172 int32_t time_phase = 0; /* phase offset (scaled us) */ variable
438 time_phase += time_adj; in clock()
439 if (time_phase <= -FINEUSEC) { in clock()
440 ltemp = -time_phase / SCALE_PHASE; in clock()
441 time_phase += ltemp * SCALE_PHASE; in clock()
445 } else if (time_phase >= FINEUSEC) { in clock()
446 ltemp = time_phase / SCALE_PHASE; in clock()
447 time_phase -= ltemp * SCALE_PHASE; in clock()