Home
last modified time | relevance | path

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

/xnu-11215/osfmk/kern/
H A Dpriority.c297 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 Dthread_policy.c679 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 Dthread.c223 .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 Dsched_prim.c5127 } 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 Dsched_clutch.c1475 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 Dprocessor.c1801 if (thread->base_pri <= MAXPRI_THROTTLE) { in recommended_pset_type()
1805 } else if (thread->base_pri <= BASEPRI_UTILITY) { in recommended_pset_type()
H A Dturnstile.c2347 priority = thread->base_pri; in turnstile_compute_thread_push()
2358 priority = MAX(priority, thread->base_pri); in turnstile_compute_thread_push()
H A Dthread.h564 …int16_t base_pri; /* effective base priority (equal to req_base_pri … member
H A Dtelemetry.c1044 thsnap->priority = thread->base_pri; in telemetry_process_sample()
H A Dbsd_kern.c1152 ptinfo->pth_priority = thact->base_pri; in fill_taskthreadinfo()
H A Dkern_stackshot.c4268 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 Dmisc_needed_deps.c48 …int16_t base_pri; /* effective base priority (equal to req_base_pri … member
/xnu-11215/osfmk/i386/
H A Dcpu.c274 act ? act->base_pri : -1, in processor_to_datastring()
/xnu-11215/tests/sched/sched_test_harness/
H A Dsched_clutch_harness.c151 thread->base_pri = pri; in impl_create_thread()
/xnu-11215/osfmk/kperf/
H A Dthread_samplers.c154 thsc->kpthsc_base_priority = thread->base_pri; in kperf_thread_scheduling_sample()
/xnu-11215/tools/lldbmacros/
H A Dscheduler.py199 …0d} | {:>10s} | {:>15s} | ".format("*", "*", "*", thread_name, thread, thread.base_pri, "*", "*"))
216 …10d} | {:>10s} | {:>15s} | ".format("*", "*", "*", thread_name, thread, thread.base_pri, "*", "*"))
H A Dprocess.py449 base_priority = str(int(thread.base_pri))
1619 base_priority = str(int(th.base_pri))
/xnu-11215/osfmk/ipc/
H A Dipc_kmsg.c1399 qos = thread_user_promotion_qos_for_pri(thread->base_pri); in ipc_get_current_thread_priority()