Searched refs:remaining_quantum (Results 1 – 3 of 3) sorted by relevance
493 if (newthread->remaining_quantum <= 0) { in thread_resched()494 newthread->remaining_quantum = 5; // XXX make this smarter in thread_resched()617 current_thread->remaining_quantum = 0; in thread_yield()659 if (current_thread->remaining_quantum > 0) in thread_preempt()711 current_thread->remaining_quantum--; in thread_timer_tick()712 if (current_thread->remaining_quantum <= 0) { in thread_timer_tick()964 … thread_state_to_str(t->state), t->curr_cpu, t->pinned_cpu, t->priority, t->remaining_quantum); in dump_thread()967 thread_state_to_str(t->state), t->priority, t->remaining_quantum); in dump_thread()
80 int remaining_quantum; member
304 …intf("%p: in this thread. rq %d\n", get_current_thread(), get_current_thread()->remaining_quantum); in quantum_tester()
Completed in 9 milliseconds