Searched refs:DIST_LIMIT (Results 1 – 2 of 2) sorted by relevance
324 #define DIST_LIMIT 10 macro325 static int dist[DIST_LIMIT];332 for (i = 0; i < DIST_LIMIT; i++) in clear_dist()349 if (count >= DIST_LIMIT) in update_dist()350 ++dist[DIST_LIMIT - 1]; in update_dist()368 for (i = 0; i < DIST_LIMIT; i++) { in compute_dist()369 if (i != DIST_LIMIT - 1) in compute_dist()
306 #define DIST_LIMIT 10 macro307 static int dist[DIST_LIMIT];312 for (i = 0; i < DIST_LIMIT; i++) dist[i] = 0; in clear_dist()325 if (count >= DIST_LIMIT) ++dist[DIST_LIMIT-1]; in update_dist()341 for (i = 0; i < DIST_LIMIT; i++) { in compute_dist()342 if (i != DIST_LIMIT-1) printf("%5d %10d\n", i, dist[i]); in compute_dist()