Home
last modified time | relevance | path

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

/kernel/kernel/
A Dsched.cpp60 int ep = t->base_priority + t->priority_boost; in compute_effec_priority()
81 likely((t->base_priority + t->priority_boost) < HIGHEST_PRIORITY)) { in boost_thread()
105 if (unlikely(t->base_priority + boost_floor < LOWEST_PRIORITY)) { in deboost_thread()
106 boost_floor = t->base_priority - LOWEST_PRIORITY; in deboost_thread()
276 LOCAL_KTRACE2("sched_get_top", newthread->priority_boost, newthread->base_priority); in sched_get_top_thread()
286 t->base_priority = priority; in sched_init_thread()
710 t->base_priority = pri; in sched_change_priority()
887 oldthread->base_priority, oldthread->priority_boost, in sched_resched_internal()
889 newthread->effec_priority, newthread->base_priority, in sched_resched_internal()
A Dthread.cpp1213 t->effec_priority, t->base_priority, in dump_thread_locked()
1236 … t, thread_state_to_str(t->state), t->mutexes_held, t->effec_priority, t->base_priority, in dump_thread_locked()
/kernel/tests/
A Dthread_tests.cpp96 get_current_thread()->base_priority); in mutex_test()
164 get_current_thread()->base_priority); in mutex_inherit_test()
813 ASSERT(t->base_priority == LOW_PRIORITY); in prio_test_thread()
819 volatile int* v_pri = &t->base_priority; in prio_test_thread()
845 int base_priority = t->base_priority; in priority_test() local
847 if (base_priority != DEFAULT_PRIORITY) { in priority_test()
854 ASSERT(t->base_priority == DEFAULT_PRIORITY + 2); in priority_test()
858 ASSERT(t->base_priority == DEFAULT_PRIORITY - 2); in priority_test()
/kernel/include/kernel/
A Dthread.h113 int base_priority; member
351 return (t->flags & THREAD_FLAG_REAL_TIME) && t->base_priority > DEFAULT_PRIORITY; in thread_is_realtime()

Completed in 13 milliseconds