Lines Matching +full:up +full:- +full:counting
5 #define DEFAULT_SYS_PRECISION -99
36 * THEN this machine is "counting" with the low order bits
38 * THEN this machine *WAS* counting, and has now stepped
42 * otherwise, take the log2(observered difference, rounded UP)
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()
149 diff = tp.tv_usec - last; in default_get_precision()
168 for (i = 0; diff > val; i--) in default_get_precision()