Lines Matching defs:rate
54 "SC := [ [ umax BYTE ] dmax SEC ] rate BPS\n"
58 " rate : rate\n"
336 unsigned int umax = 0, dmax = 0, rate = 0;
356 if (matches(*argv, "rate") == 0) {
358 if (get_rate(&rate, *argv) < 0) {
359 explain1("rate");
370 if (dmax != 0 && ceil(1.0 * umax * TIME_UNITS_PER_SEC / dmax) > rate) {
377 sc->m2 = rate;
381 * is at dmax - umax / rate
384 sc->d = tc_core_time2ktime(ceil(dmax - umax * TIME_UNITS_PER_SEC / rate));
385 sc->m2 = rate;