Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 18 of 18) sorted by relevance

/xnu-11215/osfmk/kern/
H A Dtimer_call.c1387 threshold = time_start + tlp->threshold.interval; in timer_longterm_scan()
1491 tlp->threshold.deadline = tlp->threshold.preempted; in timer_longterm_update_locked()
1522 tlp->threshold.deadline_set = tlp->threshold.deadline; in timer_longterm_update_locked()
1526 tlp->threshold.deadline_set -= tlp->threshold.margin; in timer_longterm_update_locked()
1527 tlp->threshold.deadline_set -= tlp->threshold.latency; in timer_longterm_update_locked()
1595 tlp->threshold.margin = tlp->threshold.interval / 10; in timer_longterm_init()
1679 threshold = now + tlp->threshold.interval; in timer_master_scan()
1735 tlp->threshold.margin = tlp->threshold.interval / 10; in timer_sysctl_set_threshold()
1757 tlp->threshold.deadline_set = tlp->threshold.deadline; in timer_sysctl_set_threshold()
1759 tlp->threshold.deadline_set -= tlp->threshold.margin; in timer_sysctl_set_threshold()
[all …]
H A Dzalloc.c5086 zone_map_nearing_threshold(unsigned int threshold) in zone_map_nearing_threshold() argument
5089 return phys_pages * 100 > zone_pages_wired_max * threshold; in zone_map_nearing_threshold()
/xnu-11215/osfmk/kperf/
H A Dlazy.c195 kperf_lazy_set_wait_time_threshold(uint64_t threshold) in kperf_lazy_set_wait_time_threshold() argument
197 kperf_lazy_wait_time_threshold = threshold; in kperf_lazy_set_wait_time_threshold()
225 kperf_lazy_set_cpu_time_threshold(uint64_t threshold) in kperf_lazy_set_cpu_time_threshold() argument
227 kperf_lazy_cpu_time_threshold = threshold; in kperf_lazy_set_cpu_time_threshold()
H A Dlazy.h53 int kperf_lazy_set_wait_time_threshold(uint64_t threshold);
54 int kperf_lazy_set_cpu_time_threshold(uint64_t threshold);
/xnu-11215/osfmk/mach/
H A Dresource_notify.defs71 /* threshold crossed: calculated from proc_set_cpumon_params() */
91 /* threshold crossed: calculated from proc_set_wakemon_params() */
111 /* threshold */
129 /* threshold */
149 /* threshold */
170 /* threshold */
/xnu-11215/osfmk/arm/
H A Dpreemption_disable.c391 uint64_t const threshold = os_atomic_load(&sched_preemption_disable_threshold_mt, relaxed); in _collect_preemption_disable_measurement() local
392 if (__improbable(threshold > 0 && gross_duration >= threshold)) { in _collect_preemption_disable_measurement()
399 if (net_duration < threshold) { in _collect_preemption_disable_measurement()
435 net_duration, threshold, start.pds_mach_time, now.pds_mach_time, in _collect_preemption_disable_measurement()
/xnu-11215/osfmk/vm/
H A Dvm_phantom_cache.c380 is_thrashing(uint32_t added, uint32_t found, uint32_t threshold) in is_thrashing() argument
383 if (added < threshold || found < threshold) { in is_thrashing()
/xnu-11215/osfmk/i386/
H A Dmachine_check.h136 uint64_t threshold :BITS(54, 53); member
/xnu-11215/san/coverage/
H A Dkcov_stksz.c57 SYSCTL_INT(_kern_kcov_stksz, OID_AUTO, threshold, CTLFLAG_RW | CTLFLAG_LOCKED, &stksz_threshold,
/xnu-11215/bsd/net/
H A Dntstat.h598 u_int64_t threshold __attribute__((aligned(sizeof(u_int64_t)))); member
741 u_int64_t threshold __attribute__((aligned(sizeof(u_int64_t)))); member
H A Dpf.c1222 threshold->limit = limit * PF_THRESHOLD_MULT; in pf_init_threshold()
1223 threshold->seconds = seconds; in pf_init_threshold()
1224 threshold->count = 0; in pf_init_threshold()
1225 threshold->last = pf_time_second(); in pf_init_threshold()
1233 if (diff >= threshold->seconds) { in pf_add_threshold()
1234 threshold->count = 0; in pf_add_threshold()
1236 threshold->count -= threshold->count * diff / in pf_add_threshold()
1237 threshold->seconds; in pf_add_threshold()
1239 threshold->count += PF_THRESHOLD_MULT; in pf_add_threshold()
1240 threshold->last = t; in pf_add_threshold()
[all …]
H A Dntstat.c3891 uint64_t threshold; member
3907 if (length < sizeof(*param) || param->threshold < 1024 * 1024) { in nstat_ifnet_lookup()
3929 cookie->threshold = param->threshold; in nstat_ifnet_lookup()
3932 ifp->if_data_threshold > param->threshold) { in nstat_ifnet_lookup()
3934 ifp->if_data_threshold = param->threshold; in nstat_ifnet_lookup()
4048 if (ifcookie->threshold < minthreshold) { in nstat_ifnet_release()
4049 minthreshold = ifcookie->threshold; in nstat_ifnet_release()
4445 desc->threshold = ifp->if_data_threshold; in nstat_ifnet_copy_descriptor()
/xnu-11215/doc/vm/
H A Dmemorystatus.md124 …` is low. Each action is taken until `memorystatus_available_pages` rises back above the threshold.
130 \*Note that the memorystatus pressure threshold does *not* determine the "system memory pressure le…
/xnu-11215/tools/lldbmacros/
H A Dmisc.py178 ltt = lt.threshold
/xnu-11215/bsd/kern/
H A Dvsock_domain.c1385 const uint32_t threshold = VSOCK_MAX_PACKET_SIZE; in vsock_soreceive() local
1388 if ((pcb->fwd_cnt - pcb->last_fwd_cnt + threshold) >= pcb->last_buf_alloc) { in vsock_soreceive()
H A Dkern_memorystatus.c1194 uint32_t threshold; variable
1196 threshold = memorystatus_get_idle_exit_page_shortage_threshold();
1198 threshold = memorystatus_get_soft_memlimit_page_shortage_threshold();
1200 threshold = memorystatus_get_critical_page_shortage_threshold();
1204 return sysctl_handle_int(oidp, NULL, threshold, req);
H A Dkern_sysctl.c3255 SYSCTL_PROC(_kern_timer_longterm, OID_AUTO, threshold,
/xnu-11215/makedefs/
H A DMakeInc.def1092 LDFLAGS_KERNEL_LTO = -Wl,-mllvm,-inline-threshold=100