Searched refs:rate (Results 1 - 7 of 7) sorted by relevance

/xnu-2782.1.97/bsd/dev/dtrace/
H A Dprofile_prvd.c265 int i, j, rate, kind; local
307 if ((rate = profile_rates[i]) == 0)
311 PROF_PREFIX_PROFILE, rate);
312 profile_create(NANOSEC / rate, n, PROF_PROFILE);
316 if ((rate = profile_ticks[i]) == 0)
320 PROF_PREFIX_TICK, rate);
321 profile_create(NANOSEC / rate, n, PROF_TICK);
/xnu-2782.1.97/bsd/net/classq/
H A Dclassq_subr.c596 * 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; local
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;
[all...]
H A Dif_classq.h78 * A token-bucket regulator limits the rate that a network driver can
86 u_int64_t tbr_rate_raw; /* (unscaled) token bucket rate */
87 u_int32_t tbr_percent; /* token bucket rate in percentage */
88 int64_t tbr_rate; /* (scaled) token bucket rate */
101 u_int64_t rate; /* rate in bit-per-sec */ member in struct:tb_profile
102 u_int32_t percent; /* rate in percentage */
/xnu-2782.1.97/bsd/net/
H A Dkpi_interface.c1201 u_int64_t rate; local
1205 rate = ifp->if_output_bw.eff_bw;
1209 rate = MIN(rate, ifp->if_snd.ifcq_tbr.tbr_rate_raw);
1212 return (rate);
H A Dif.c1572 bcopy(&iflpr->iflpr_output_tbr_rate, &tb.rate,
1573 sizeof (tb.rate));
H A Dpf_ioctl.c1086 tb.rate = altq->ifbandwidth;
4672 /* adjust the connection rate estimate */
/xnu-2782.1.97/osfmk/kern/
H A Dtask.c209 * (ie when the task's wakeups rate exceeds 70% of the limit, start taking user
214 int task_wakeups_monitor_interval; /* In seconds. Time period over which wakeups rate is observed */
793 int32_t rate; // Ignored because of WAKEMON_SET_DEFAULTS local
794 task_wakeups_monitor_ctl(new_task, &flags, &rate);
4004 printf("process %s[%d] caught causing excessive wakeups. Observed wakeups rate "
4005 "(per sec): %lld; Maximum permitted wakeups rate (per sec): %lld; Observation "

Completed in 161 milliseconds