Home
last modified time | relevance | path

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

/xnu-10063.101.15/osfmk/kern/
H A Dsched_clutch.c1425 clutch_cpu_data_t cpu_blocked = scb_cpu_data.cpu_data.scbcd_cpu_blocked; in sched_clutch_interactivity_from_cpu_data() local
1428 if ((cpu_blocked == 0) && (cpu_used == 0)) { in sched_clutch_interactivity_from_cpu_data()
1435 if (cpu_blocked > cpu_used) { in sched_clutch_interactivity_from_cpu_data()
1438 ((sched_clutch_bucket_group_interactive_pri * (cpu_blocked - cpu_used)) / cpu_blocked); in sched_clutch_interactivity_from_cpu_data()
1441 interactive_score = ((sched_clutch_bucket_group_interactive_pri * cpu_blocked) / cpu_used); in sched_clutch_interactivity_from_cpu_data()
1633 uint64_t cpu_blocked, in sched_clutch_bucket_group_cpu_pending_adjust() argument
1637 if (cpu_blocked < cpu_used) { in sched_clutch_bucket_group_cpu_pending_adjust()
1638 cpu_used_adjusted = (sched_clutch_bucket_group_interactive_pri * cpu_blocked * cpu_used); in sched_clutch_bucket_group_cpu_pending_adjust()
1639 …cpu_used_adjusted = cpu_used_adjusted / ((sched_clutch_bucket_group_interactive_pri * cpu_blocked)… in sched_clutch_bucket_group_cpu_pending_adjust()
1641 …uint64_t adjust_factor = (cpu_blocked * pending_intervals) / sched_clutch_bucket_group_interactive… in sched_clutch_bucket_group_cpu_pending_adjust()
[all …]