| /xnu-11215/osfmk/kern/ |
| H A D | priority.c | 297 int old_base_pri = thread->base_pri; in sched_set_thread_base_priority() 389 int16_t priority = thread->base_pri; in thread_recompute_sched_pri() 606 int priority = thread->base_pri; in sched_compute_timeshare_priority() 1131 thread->base_pri, trace_obj); in sched_thread_promote_reason() 1136 thread->base_pri, trace_obj); in sched_thread_promote_reason() 1141 thread->base_pri, trace_obj); in sched_thread_promote_reason() 1146 thread->base_pri, trace_obj); in sched_thread_promote_reason() 1172 thread->base_pri, trace_obj); in sched_thread_unpromote_reason() 1177 thread->base_pri, trace_obj); in sched_thread_unpromote_reason() 1182 thread->base_pri, trace_obj); in sched_thread_unpromote_reason() [all …]
|
| H A D | thread_policy.c | 679 integer_t old_base_pri = thread->base_pri; in thread_set_mode_and_absolute_pri_internal() 715 if (thread->base_pri != old_base_pri || in thread_set_mode_and_absolute_pri_internal() 746 integer_t base_pri; in thread_unfreeze_base_pri() local 755 base_pri = thread->req_base_pri; in thread_unfreeze_base_pri() 756 if (base_pri != thread->base_pri) { in thread_unfreeze_base_pri() 1582 theffective_1(thread), thread->base_pri, 0); in thread_policy_create() 1592 theffective_1(thread), thread->base_pri, 0); in thread_policy_create() 1868 integer_t old_base_pri = thread->base_pri; in thread_policy_update_internal_spinlocked() 1891 ((old_base_pri == thread->base_pri) || in thread_policy_update_internal_spinlocked() 3065 int old_base_pri = thread->base_pri; in thread_recompute_user_promotion_locked() [all …]
|
| H A D | thread.c | 223 .base_pri = BASEPRI_DEFAULT, 2116 ts_info->depress_priority = thread->base_pri; in thread_info_internal() 2118 ts_info->base_priority = thread->base_pri; in thread_info_internal() 2161 rr_info->depress_priority = thread->base_pri; in thread_info_internal() 2163 rr_info->base_priority = thread->base_pri; in thread_info_internal() 2203 extended_info->pth_priority = thread->base_pri; in thread_info_internal() 3880 qos = thread_user_promotion_qos_for_pri(thread->base_pri); in thread_get_ipc_propagate_attr() 3929 return thr->base_pri; in thread_kern_get_pri()
|
| H A D | sched_prim.c | 5127 } else if ((thread->sched_mode == TH_MODE_TIMESHARE) && (thread->sched_pri < thread->base_pri)) { in processor_setrun() 5128 if (SCHED(priority_is_urgent)(thread->base_pri) && thread->sched_pri > processor->current_pri) { in processor_setrun() 6409 thread->base_pri, in set_sched_pri() 6686 (thread->base_pri <= MAXPRI_THROTTLE)) { in thread_get_urgency() 6704 urgency_param2 = thread->base_pri; in thread_get_urgency() 6741 if (thread->base_pri <= MAXPRI_THROTTLE) { in thread_get_perfcontrol_class() 6743 } else if (thread->base_pri <= BASEPRI_UTILITY) { in thread_get_perfcontrol_class() 6745 } else if (thread->base_pri <= BASEPRI_DEFAULT) { in thread_get_perfcontrol_class() 6747 } else if (thread->base_pri <= BASEPRI_USER_INITIATED) { in thread_get_perfcontrol_class() 6749 } else if (thread->base_pri <= BASEPRI_FOREGROUND) { in thread_get_perfcontrol_class() [all …]
|
| H A D | sched_clutch.c | 1475 sched_bucket = sched_clutch_thread_bucket_map(thread, thread->base_pri); in sched_edge_thread_preferred_cluster() 1709 uint8_t base_pri = sched_clutch_bucket_base_pri(clutch_bucket); in sched_clutch_bucket_pri_calculate() local 1712 assert(((uint64_t)base_pri + interactive_score) <= UINT8_MAX); in sched_clutch_bucket_pri_calculate() 1713 uint8_t pri = base_pri + interactive_score; in sched_clutch_bucket_pri_calculate() 2696 sched_thread_sched_pri_promoted(thread) ? thread->sched_pri : thread->base_pri, false); in sched_clutch_thread_insert() 3644 int pri = (sched_thread_sched_pri_promoted(thread)) ? thread->sched_pri : thread->base_pri; in sched_clutch_update_thread_bucket()
|
| H A D | processor.c | 1801 if (thread->base_pri <= MAXPRI_THROTTLE) { in recommended_pset_type() 1805 } else if (thread->base_pri <= BASEPRI_UTILITY) { in recommended_pset_type()
|
| H A D | turnstile.c | 2347 priority = thread->base_pri; in turnstile_compute_thread_push() 2358 priority = MAX(priority, thread->base_pri); in turnstile_compute_thread_push()
|
| H A D | thread.h | 564 …int16_t base_pri; /* effective base priority (equal to req_base_pri … member
|
| H A D | telemetry.c | 1044 thsnap->priority = thread->base_pri; in telemetry_process_sample()
|
| H A D | bsd_kern.c | 1152 ptinfo->pth_priority = thact->base_pri; in fill_taskthreadinfo()
|
| H A D | kern_stackshot.c | 4268 cur_thread_snap->ths_base_priority = thread->base_pri; in kcdata_record_thread_snapshot() 4523 cur_thread_snap->tds_base_priority = thread->base_pri; in kcdata_record_thread_delta_snapshot()
|
| /xnu-11215/tests/sched/sched_test_harness/shadow_headers/ |
| H A D | misc_needed_deps.c | 48 …int16_t base_pri; /* effective base priority (equal to req_base_pri … member
|
| /xnu-11215/osfmk/i386/ |
| H A D | cpu.c | 274 act ? act->base_pri : -1, in processor_to_datastring()
|
| /xnu-11215/tests/sched/sched_test_harness/ |
| H A D | sched_clutch_harness.c | 151 thread->base_pri = pri; in impl_create_thread()
|
| /xnu-11215/osfmk/kperf/ |
| H A D | thread_samplers.c | 154 thsc->kpthsc_base_priority = thread->base_pri; in kperf_thread_scheduling_sample()
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | scheduler.py | 199 …0d} | {:>10s} | {:>15s} | ".format("*", "*", "*", thread_name, thread, thread.base_pri, "*", "*")) 216 …10d} | {:>10s} | {:>15s} | ".format("*", "*", "*", thread_name, thread, thread.base_pri, "*", "*"))
|
| H A D | process.py | 449 base_priority = str(int(thread.base_pri)) 1619 base_priority = str(int(th.base_pri))
|
| /xnu-11215/osfmk/ipc/ |
| H A D | ipc_kmsg.c | 1399 qos = thread_user_promotion_qos_for_pri(thread->base_pri); in ipc_get_current_thread_priority()
|