Home
last modified time | relevance | path

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

/xnu-8019.80.24/osfmk/kern/
H A Dsched_clutch.c1397 clutch_cpu_data_t cpu_used = scb_cpu_data.cpu_data.scbcd_cpu_used; in sched_clutch_interactivity_from_cpu_data() local
1401 if ((cpu_blocked == 0) && (cpu_used == 0)) { in sched_clutch_interactivity_from_cpu_data()
1408 if (cpu_blocked > cpu_used) { in sched_clutch_interactivity_from_cpu_data()
1411 ((sched_clutch_bucket_group_interactive_pri * (cpu_blocked - cpu_used)) / cpu_blocked); in sched_clutch_interactivity_from_cpu_data()
1414 interactive_score = ((sched_clutch_bucket_group_interactive_pri * cpu_blocked) / cpu_used); in sched_clutch_interactivity_from_cpu_data()
1605 uint64_t cpu_used, in sched_clutch_bucket_group_cpu_pending_adjust() argument
1610 if (cpu_blocked < cpu_used) { in sched_clutch_bucket_group_cpu_pending_adjust()
1611 cpu_used_adjusted = (sched_clutch_bucket_group_interactive_pri * cpu_blocked * cpu_used); in sched_clutch_bucket_group_cpu_pending_adjust()
1612 …djusted / ((sched_clutch_bucket_group_interactive_pri * cpu_blocked) + (cpu_used * pending_interva… in sched_clutch_bucket_group_cpu_pending_adjust()
1615 cpu_used_adjusted = (adjust_factor > cpu_used) ? 0 : (cpu_used - adjust_factor); in sched_clutch_bucket_group_cpu_pending_adjust()
[all …]