Searched refs:irate (Results 1 – 1 of 1) sorted by relevance
74 int irate, irate_min = 1; /* 1 KB/sec */ in get_rate() local121 irate = (int) (slowest/1000.0); in get_rate()122 if (irate < irate_min) { in get_rate()123 irate = irate_min; in get_rate()125 if (irate > irate_max) { in get_rate()126 irate = irate_max; in get_rate()128 if (0) fprintf(stderr, "get_rate(%d) %d %.3f/%.3f\n", which, irate, save_rate, slowest); in get_rate()130 return irate; in get_rate()