Home | History | Annotate | Download | only in tc

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(1.0 * umax * TIME_UNITS_PER_SEC / dmax) > rate) {
372 * concave curve, slope of first segment is umax/dmax,
375 sc->m1 = ceil(1.0 * umax * TIME_UNITS_PER_SEC / dmax); /* in bps */
381 * is at dmax - umax / rate
384 sc->d = tc_core_time2ktime(ceil(dmax - umax * TIME_UNITS_PER_SEC / rate));