Lines Matching defs:sys_tick
41 * The sys_tick variable secifies the system clock tick interval in
44 * clock, which is the value of sys_tick after the precision has been
46 * interrupts, sys_tick will be much larger in the order of 10 ms, so the
49 * is 500 ns and sys_tick is 500 ns.
51 double sys_tick = 0; /* precision (time to read the clock) */
80 if (sys_tick > FUZZ)
81 dtemp = ntp_random() * 2. / FRAC * sys_tick * 1e9;
82 else if (sys_tick > 0)
104 if (sys_tick > FUZZ)
105 dtemp = ntp_random() * 2. / FRAC * sys_tick * 1e6;
106 else if (sys_tick > 0)
150 ticks = (long)(dtemp / sys_tick + .5);
151 adjtv.tv_usec = (long)(ticks * sys_tick * 1e6);