Home
last modified time | relevance | path

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

/xnu-12377.1.9/osfmk/kern/
H A Dsched_clutch.c1693 clutch_cpu_data_t cpu_used = scb_cpu_data.cpu_data.scbcd_cpu_used; in sched_clutch_interactivity_from_cpu_data() local
1697 if ((cpu_blocked == 0) && (cpu_used == 0)) { in sched_clutch_interactivity_from_cpu_data()
1704 if (cpu_blocked > cpu_used) { in sched_clutch_interactivity_from_cpu_data()
1707 ((sched_clutch_bucket_group_interactive_pri * (cpu_blocked - cpu_used)) / cpu_blocked); in sched_clutch_interactivity_from_cpu_data()
1710 interactive_score = ((sched_clutch_bucket_group_interactive_pri * cpu_blocked) / cpu_used); in sched_clutch_interactivity_from_cpu_data()
1928 uint64_t cpu_used, in sched_clutch_bucket_group_cpu_pending_adjust() argument
1933 if (cpu_blocked < cpu_used) { in sched_clutch_bucket_group_cpu_pending_adjust()
1934 cpu_used_adjusted = (sched_clutch_bucket_group_interactive_pri * cpu_blocked * cpu_used); in sched_clutch_bucket_group_cpu_pending_adjust()
1935 …djusted / ((sched_clutch_bucket_group_interactive_pri * cpu_blocked) + (cpu_used * pending_interva… in sched_clutch_bucket_group_cpu_pending_adjust()
1938 cpu_used_adjusted = (adjust_factor > cpu_used) ? 0 : (cpu_used - adjust_factor); in sched_clutch_bucket_group_cpu_pending_adjust()
[all …]