Lines Matching refs:umax
54 "SC := [ [ umax BYTE ] dmax SEC ] rate BPS\n"
56 " umax : maximum unit of work\n"
336 unsigned int umax = 0, dmax = 0, rate = 0;
338 if (matches(*argv, "umax") == 0) {
340 if (get_size(&umax, *argv) < 0) {
341 explain1("umax");
365 if (umax != 0 && dmax == 0) {
366 fprintf(stderr, "HFSC: umax given but dmax is zero.\n");
370 if (dmax != 0 && ceil(umax * 1000000.0 / dmax) > rate) {
372 * concave curve, slope of first segment is umax/dmax,
375 sc->m1 = ceil(umax * 1000000.0 / dmax); /* in bps */
381 * is at dmax - umax / rate
384 sc->d = ceil(dmax - umax * 1000000.0 / rate); /* in usec */