| /xnu-11215/tools/trace/ |
| H A D | bridgetime.lua | 62 local rate 64 rate = darwin.uint64_to_double(buf[3]) 66 rate = math.nan 71 rate) 133 local rate 135 rate = darwin.uint64_to_double(buf[1]) 137 rate = math.nan 140 printf("%s obsv_rate = %f exceeded limits(0.8, 1.2)\n", prefix, rate)
|
| /xnu-11215/osfmk/kern/ |
| H A D | remote_time.h | 39 double rate; member 48 if (!params || params->rate == 0.0) { in mach_bridge_compute_timestamp() 59 if (params->rate != 1.0) { in mach_bridge_compute_timestamp() 60 …rate_prod = (int64_t)(params->rate * (double)((int64_t)local_ts_ns - (int64_t)params->base_local_t… in mach_bridge_compute_timestamp()
|
| H A D | remote_time.c | 334 bt_params.rate = cumulative_rate; in bt_calibration_thread() 344 bt_params.rate = 0; in bt_calibration_thread() 352 if (bt_params_snapshot.rate == 0.0) { in bt_calibration_thread() 431 bt_params.rate = new_rate; in bt_calibration_thread() 434 commpage_set_remotetime_params(bt_params.rate, bt_params.base_local_ts, bt_params.base_remote_ts); in bt_calibration_thread() 436 bt_params.base_remote_ts, *(uint64_t *)((void *)&bt_params.rate)); in bt_calibration_thread()
|
| H A D | exclaves_sensor.c | 122 exclaveindicatorcontroller_requestedrefreshrate_s rate; in exclaves_eic_display_healthcheck_rate() local 128 rate = EXCLAVEINDICATORCONTROLLER_REQUESTEDREFRESHRATE_HZ_30; in exclaves_eic_display_healthcheck_rate() 132 rate = EXCLAVEINDICATORCONTROLLER_REQUESTEDREFRESHRATE_HZ_60; in exclaves_eic_display_healthcheck_rate() 136 rate = EXCLAVEINDICATORCONTROLLER_REQUESTEDREFRESHRATE_HZ_120; in exclaves_eic_display_healthcheck_rate() 141 &eic_client, rate, ^(__unused exclaveindicatorcontroller_requestresponse_s result) {}); in exclaves_eic_display_healthcheck_rate()
|
| H A D | task.c | 1633 int32_t rate; // Ignored because of WAKEMON_SET_DEFAULTS in task_create_internal() local 1634 task_wakeups_monitor_ctl(new_task, &flags, &rate); in task_create_internal()
|
| /xnu-11215/osfmk/arm64/ |
| H A D | machine_remote_time.c | 88 mach_bridge_set_params(uint64_t local_timestamp, uint64_t remote_timestamp, double rate) in mach_bridge_set_params() argument 99 params.rate = rate; in mach_bridge_set_params() 104 params.base_remote_ts, *(uint64_t *)((void *)¶ms.rate)); in mach_bridge_set_params()
|
| H A D | machine_remote_time.h | 37 void mach_bridge_set_params(uint64_t local_timestamp, uint64_t remote_timestamp, double rate);
|
| /xnu-11215/bsd/netinet/ |
| H A D | tcp_prague.c | 362 uint64_t rate = tp->snd_cwnd; in prague_update_pacer_state() local 366 rate *= 2; in prague_update_pacer_state() 370 rate *= MSEC_PER_SEC; in prague_update_pacer_state() 371 rate = rate / srtt; in prague_update_pacer_state() 373 uint32_t burst = (uint32_t)(rate >> BURST_SHIFT); in prague_update_pacer_state() 375 tp->t_pacer.rate = rate; in prague_update_pacer_state() 658 tp->t_pacer.rate = startup_rate; in tcp_prague_cwnd_init_or_reset()
|
| H A D | tcp_var.h | 372 uint64_t rate; member
|
| H A D | tcp_subr.c | 3658 if (tp->t_pacer.rate == 0) { in tcp_pacer_get_packet_interval() 3666 uint64_t interval = (uint64_t)size * NSEC_PER_SEC / tp->t_pacer.rate; in tcp_pacer_get_packet_interval()
|
| /xnu-11215/bsd/dev/dtrace/ |
| H A D | profile_prvd.c | 305 int i, j, rate, kind; in profile_provide() local 347 if ((rate = profile_rates[i]) == 0) { in profile_provide() 352 PROF_PREFIX_PROFILE, rate); in profile_provide() 353 profile_create(NANOSEC / rate, n, PROF_PROFILE); in profile_provide() 357 if ((rate = profile_ticks[i]) == 0) { in profile_provide() 362 PROF_PREFIX_TICK, rate); in profile_provide() 363 profile_create(NANOSEC / rate, n, PROF_TICK); in profile_provide()
|
| /xnu-11215/libsyscall/wrappers/ |
| H A D | mach_bridge_remote_time.c | 57 volatile double *rate_p = &commpage_bt_params_p->rate; in mach_bridge_remote_time() 70 params.rate = *rate_p; in mach_bridge_remote_time()
|
| /xnu-11215/bsd/net/classq/ |
| H A D | classq_subr.c | 201 { .rate = 0, .percent = 0, .depth = 0 }; in ifclassq_teardown() 711 u_int64_t rate, old_rate; in ifclassq_tbr_set() local 721 rate = profile->rate; in ifclassq_tbr_set() 731 rate = (eff_rate * profile->percent) / 100; in ifclassq_tbr_set() 734 if (rate == 0) { in ifclassq_tbr_set() 756 "enabled", rate, profile->depth); in ifclassq_tbr_set() 761 tbr->tbr_rate_raw = rate; in ifclassq_tbr_set() 775 tbr->tbr_rate = TBR_SCALE(rate / 8) / machclk_freq; in ifclassq_tbr_set()
|
| H A D | if_classq.h | 95 u_int64_t rate; /* rate in bit-per-sec */ member
|
| /xnu-11215/bsd/net/pktsched/ |
| H A D | pktsched_netem.c | 733 uint64_t rate; member 1066 if (bw->rate == UINT64_MAX) { in rate_limiter() 1070 if (bw->rate == 0) { in rate_limiter() 1074 ipg_ns = (pkt->pktsched_plen * 8 * NSEC_PER_SEC) / bw->rate; in rate_limiter() 1518 bw->rate = p->ifnetem_bandwidth_bps; in netem_set_params() 1562 NETEM_LOG(LOG_INFO, "| bandwidth %llu bps %s", bw->rate, in netem_set_params() 1563 bw->rate == UINT64_MAX ? "no limit" : ""); in netem_set_params() 1593 p->ifnetem_bandwidth_bps = bw->rate; in netem_get_params()
|
| /xnu-11215/osfmk/arm/commpage/ |
| H A D | commpage.h | 50 extern void commpage_set_remotetime_params(double rate, uint64_t base_local_ts, uint64_t base_r…
|
| H A D | commpage.c | 1007 commpage_set_remotetime_params(double rate, uint64_t base_local_ts, uint64_t base_remote_ts) in commpage_set_remotetime_params() argument 1014 paramsp->rate = rate; in commpage_set_remotetime_params()
|
| /xnu-11215/bsd/skywalk/nexus/ |
| H A D | os_nexus.h | 1106 uint64_t rate);
|
| H A D | nexus_kern.c | 1617 kern_nexus_set_netif_input_tbr_rate(struct ifnet *ifp, uint64_t rate) in kern_nexus_set_netif_input_tbr_rate() argument 1621 if (rate != 0) { in kern_nexus_set_netif_input_tbr_rate() 1628 ifp->if_na->nifna_netif->nif_input_rate = rate; in kern_nexus_set_netif_input_tbr_rate()
|
| /xnu-11215/bsd/net/ |
| H A D | kpi_interface.c | 1626 u_int64_t rate; in ifnet_output_linkrate() local 1630 rate = ifp->if_output_bw.eff_bw; in ifnet_output_linkrate() 1634 rate = MIN(rate, ifq->ifcq_tbr.tbr_rate_raw); in ifnet_output_linkrate() 1637 return rate; in ifnet_output_linkrate()
|
| H A D | if.c | 2023 struct tb_profile tb = { .rate = 0, .percent = 0, .depth = 0 }; in ifioctl_linkparams() 2067 bcopy(&iflpr->iflpr_output_tbr_rate, &tb.rate, in ifioctl_linkparams() 2068 sizeof(tb.rate)); in ifioctl_linkparams()
|
| H A D | dlil.c | 4687 .rate = ifq->ifcq_tbr.tbr_rate_raw, in ifnet_update_sndq()
|
| /xnu-11215/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif.c | 3597 netif_rate_limit(struct __kern_channel_ring *r, uint64_t rate, argument 3607 if (__probable(rate == 0)) { 3613 r->ckr_tbr_token = rate; 3614 r->ckr_tbr_depth = rate; 3621 ((sec * USEC_PER_SEC + usec) * rate / USEC_PER_SEC);
|
| /xnu-11215/doc/vm/ |
| H A D | memorystatus_kills.md | 59 …emory. Specifically the phantom cache has detected pressure (based on the rate that we're paging o…
|