Home
last modified time | relevance | path

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

/xnu-11215.81.4/osfmk/kern/
H A Dsched_clutch.c1670 clutch_cpu_data_t cpu_blocked = scb_cpu_data.cpu_data.scbcd_cpu_blocked; in sched_clutch_interactivity_from_cpu_data() local
1673 if ((cpu_blocked == 0) && (cpu_used == 0)) { in sched_clutch_interactivity_from_cpu_data()
1680 if (cpu_blocked > cpu_used) { in sched_clutch_interactivity_from_cpu_data()
1683 ((sched_clutch_bucket_group_interactive_pri * (cpu_blocked - cpu_used)) / cpu_blocked); in sched_clutch_interactivity_from_cpu_data()
1686 interactive_score = ((sched_clutch_bucket_group_interactive_pri * cpu_blocked) / cpu_used); in sched_clutch_interactivity_from_cpu_data()
1899 uint64_t cpu_blocked, in sched_clutch_bucket_group_cpu_pending_adjust() argument
1903 if (cpu_blocked < cpu_used) { in sched_clutch_bucket_group_cpu_pending_adjust()
1904 cpu_used_adjusted = (sched_clutch_bucket_group_interactive_pri * cpu_blocked * cpu_used); in sched_clutch_bucket_group_cpu_pending_adjust()
1905 …cpu_used_adjusted = cpu_used_adjusted / ((sched_clutch_bucket_group_interactive_pri * cpu_blocked)… in sched_clutch_bucket_group_cpu_pending_adjust()
1907 …uint64_t adjust_factor = (cpu_blocked * pending_intervals) / sched_clutch_bucket_group_interactive… in sched_clutch_bucket_group_cpu_pending_adjust()
[all …]