Searched refs:rate (Results 1 - 7 of 7) sorted by relevance
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | profile_prvd.c | 323 int i, j, rate, kind; local 403 if ((rate = profile_rates[i]) == 0) 407 PROF_PREFIX_PROFILE, rate); 408 profile_create(NANOSEC / rate, n, PROF_PROFILE); 416 if ((rate = profile_ticks[i]) == 0) 420 PROF_PREFIX_TICK, rate); 421 profile_create(NANOSEC / rate, n, PROF_TICK);
|
/darwin-on-arm/xnu/bsd/net/classq/ |
H A D | classq_subr.c | 568 * rate: byte_per_unittime << 32 666 * if the specified rate is zero, the token bucket regulator is deleted. 674 u_int64_t rate, old_rate; local 684 rate = profile->rate; 692 rate = (eff_rate * profile->percent) / 100; 695 if (rate == 0) { 712 printf("%s: TBR %s (rate %llu bps depth %u)\n", if_name(ifp), 714 "enabled", rate, profile->depth); 719 tbr->tbr_rate_raw = rate; [all...] |
H A D | if_classq.h | 70 * A token-bucket regulator limits the rate that a network driver can 78 u_int64_t tbr_rate_raw; /* (unscaled) token bucket rate */ 79 u_int32_t tbr_percent; /* token bucket rate in percentage */ 80 int64_t tbr_rate; /* (scaled) token bucket rate */ 93 u_int64_t rate; /* rate in bit-per-sec */ member in struct:tb_profile 94 u_int32_t percent; /* rate in percentage */
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | kpi_interface.c | 1081 u_int64_t rate; local 1085 rate = ifp->if_output_bw.eff_bw; 1089 rate = MIN(rate, ifp->if_snd.ifcq_tbr.tbr_rate_raw); 1092 return (rate);
|
H A D | if.c | 1765 bcopy(&iflpr->iflpr_output_tbr_rate, &tb.rate, 1766 sizeof (tb.rate));
|
H A D | pf_ioctl.c | 1083 tb.rate = altq->ifbandwidth; 4570 /* adjust the connection rate estimate */
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_vfsops.c | 1047 uint64_t pending_io, start, rate = 0; local 1076 rate = ((pending_io * 1000000ULL) / (now - start)); // yields bytes per second 1083 // i/o rate. If it's taking less than 1 second or more 1087 if (((now - start) >= 300000) && (rate != 0)) { 1088 uint64_t scale = (pending_io * 100) / rate; 1092 hfsmp->hfs_max_pending_io = (rate * 150ULL) / 100ULL;
|
Completed in 51 milliseconds