Lines Matching +full:interrupt +full:- +full:less
5 #define DEFAULT_SYS_PRECISION -99
47 * chance of MINSTEP-1 other processes getting in and calling gettimeofday
75 for (i = - --minsteps; i< MAXLOOPS; i++) { in default_get_resolution()
77 diff = tp.tv_usec - last; in default_get_resolution()
79 if (diff > MINSTEP) if (minsteps-- <= 0) break; in default_get_resolution()
95 " (The resolution is less than the time to read the clock -- Assume 1us)\n"); in default_get_resolution()
98 for (i=0, val=HUSECS; val>0; i--, val >>= 1) if (diff >= val) return i; in default_get_resolution()
99 printf(" (Oh dear -- that wasn't expected ! I'll guess !)\n"); in default_get_resolution()
107 * gettimeofday(). If a difference is less than zero, the us field
109 * the difference is greater than zero and less than MINSTEP, the
111 * If the clock has advanced by a greater amount, then a timer interrupt
114 * happen to hit a fat interrupt, we do this for MINLOOPS times and
149 diff = tp.tv_usec - last; in default_get_precision()
168 for (i = 0; diff > val; i--) in default_get_precision()