Lines Matching defs:ticks
96 * Compute number of ticks in the specified amount of time.
101 unsigned long ticks;
108 * ticks, rounding up and adding 1 to allow for the current tick
112 * Otherwise, if the number of ticks in the whole seconds part of
114 * ticks separately and add, using similar rounding methods and
122 * 10ms ticks is 248 days.
138 * Would expire now or in the past. Return 0 ticks.
142 ticks = 0;
144 ticks = (((sec * 1000000) + (unsigned long)usec + (tick - 1))
147 ticks = (sec * hz) +
150 ticks = LONG_MAX;
152 if (ticks > INT_MAX)
153 ticks = INT_MAX;
155 return ((int)ticks);