Home
last modified time | relevance | path

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

/xnu-8792.41.9/osfmk/kern/
H A Dsched_clutch.c1398 clutch_cpu_data_t cpu_blocked = scb_cpu_data.cpu_data.scbcd_cpu_blocked; 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()
1606 uint64_t cpu_blocked, 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 …cpu_used_adjusted = cpu_used_adjusted / ((sched_clutch_bucket_group_interactive_pri * cpu_blocked)… in sched_clutch_bucket_group_cpu_pending_adjust()
1614 …uint64_t adjust_factor = (cpu_blocked * pending_intervals) / sched_clutch_bucket_group_interactive… in sched_clutch_bucket_group_cpu_pending_adjust()
[all …]