Home
last modified time | relevance | path

Searched refs:elapsed_time (Results 1 – 5 of 5) sorted by relevance

/xnu-11215.81.4/bsd/netinet/
H A Din_stat.c42 uint64_t elapsed_time, slot; in in_stat_set_activity_bitmap() local
48 elapsed_time = now - activity->start; in in_stat_set_activity_bitmap()
50 slot = elapsed_time >> IN_STAT_ACTIVITY_TIME_SEC_SHIFT; in in_stat_set_activity_bitmap()
H A Dtcp_cubic.c149 uint32_t elapsed_time, win; in tcp_cubic_update() local
192 elapsed_time = timer_diff(tcp_globals_now(globals), 0, tp->t_ccstate->cub_epoch_start, 0); in tcp_cubic_update()
195 elapsed_time += max(tcp_cubic_use_minrtt, rtt); in tcp_cubic_update()
197 elapsed_time += rtt; in tcp_cubic_update()
199 var = (elapsed_time - tp->t_ccstate->cub_epoch_period) / TCP_RETRANSHZ; in tcp_cubic_update()
H A Dtcp_prague.c136 …uint32_t elapsed_time = timer_diff(tcp_globals_now(globals), 0, tp->t_ccstate->cubic_epoch_start, … in cubic_target() local
137 elapsed_time += srtt; in cubic_target()
139 float var = (elapsed_time - tp->t_ccstate->cubic_K) / TCP_RETRANSHZ; in cubic_target()
H A Dtcp_input.c521 uint32_t bw, bytes, elapsed_time; in tcp_bwmeas_check() local
531 elapsed_time = tcp_now - tp->t_bwmeas->bw_ts; in tcp_bwmeas_check()
532 if (elapsed_time > 0) { in tcp_bwmeas_check()
533 bw = bytes / elapsed_time; in tcp_bwmeas_check()
/xnu-11215.81.4/osfmk/kern/
H A Dexclaves_memory.c201 uint64_t elapsed_time = mach_continuous_approximate_time() - start_time; in exclaves_memory_alloc() local
204 os_atomic_add(&exclaves_allocation_statistics.time_allocating, elapsed_time, relaxed); in exclaves_memory_alloc()
205 os_atomic_max(&exclaves_allocation_statistics.max_alloc_latency, elapsed_time, relaxed); in exclaves_memory_alloc()
206 …xclaves_allocation_statistics.alloc_latency_byhighbit[ffsll(elapsed_time) / 4], elapsed_time, rela… in exclaves_memory_alloc()