Lines Matching refs:rate
596 * rate: byte_per_unittime << 32
694 * if the specified rate is zero, the token bucket regulator is deleted.
702 u_int64_t rate, old_rate;
712 rate = profile->rate;
720 rate = (eff_rate * profile->percent) / 100;
723 if (rate == 0) {
740 printf("%s: TBR %s (rate %llu bps depth %u)\n", if_name(ifp),
742 "enabled", rate, profile->depth);
747 tbr->tbr_rate_raw = rate;
761 tbr->tbr_rate = TBR_SCALE(rate / 8) / machclk_freq;
782 /* a little fudge factor to get closer to rate */