Searched refs:memory_threshold (Results 1 - 1 of 1) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Dkern_proc.c2956 * Note: the memory_threshold argument is specified in bytes and is of type uint64_t.
2993 uint64_t memory_threshold; local
3029 memory_threshold = (sane_size * STARTING_PERCENTAGE) / 100; /* resident threshold in bytes */
3031 for (num_found = 0; num_found == 0; memory_threshold = memory_threshold / 2) {
3032 proc_iterate(PROC_ALLPROCLIST, proc_dopcontrol, (void *)&num_found, proc_pcontrol_filter, (void *)&memory_threshold);
3035 * If we just looked with memory_threshold == 0, then there's no need to iterate any further since
3039 if (memory_threshold == 0) {

Completed in 16 milliseconds