Home | History | Annotate | Download | only in tc

Lines Matching defs:rate

54 		"SC := [ [ umax BYTE ] dmax SEC ] rate BPS\n"
58 " rate : rate\n"
340 unsigned int umax = 0, dmax = 0, rate = 0;
360 if (matches(*argv, "rate") == 0) {
362 if (get_rate(&rate, *argv) < 0) {
363 explain1("rate");
374 if (dmax != 0 && ceil(1.0 * umax * TIME_UNITS_PER_SEC / dmax) > rate) {
381 sc->m2 = rate;
385 * is at dmax - umax / rate
388 sc->d = tc_core_time2ktime(ceil(dmax - umax * TIME_UNITS_PER_SEC / rate));
389 sc->m2 = rate;