Home
last modified time | relevance | path

Searched refs:ms_refill (Results 1 – 4 of 4) sorted by relevance

/xnu-11215/libsyscall/wrappers/libproc/
H A Dlibproc_internal.h43 int proc_setthread_cpupercent(uint8_t percentage, uint32_t ms_refill) __OSX_AVAILABLE_STARTING(__MA…
H A Dlibproc.c144 proc_setthread_cpupercent(uint8_t percentage, uint32_t ms_refill) in proc_setthread_cpupercent() argument
149 if ((percentage >= 100) || (ms_refill & ~0xffffffU)) { in proc_setthread_cpupercent()
154 arg = ((ms_refill << 8) | percentage); in proc_setthread_cpupercent()
/xnu-11215/bsd/kern/
H A Dkern_resource.c3102 uint32_t ms_refill = 0; in proc_rlimit_control() local
3106 …ms_refill = (cpulimits_flags >> 8) & 0xffffff; /* next 24 bits represent ms refill value … in proc_rlimit_control()
3112 ns_refill = ((uint64_t)ms_refill) * NSEC_PER_MSEC; in proc_rlimit_control()
H A Dkern_sysctl.c3520 int ms_refill = 0; local
3533 ms_refill = (new_value >> 8) & 0xffffff; /* upper 24bytes represent ms refill value */
3543 thread_set_cpulimit(THREAD_CPULIMIT_BLOCK, percent, ms_refill * (int)NSEC_PER_MSEC);