Searched refs:current_quantum (Results 1 - 4 of 4) sorted by relevance

/darwin-on-arm/xnu/osfmk/kern/
H A Dpriority.c105 ledger_credit(thread->t_ledger, task_ledgers.cpu_time, thread->current_quantum);
106 ledger_credit(thread->t_threadledger, thread_ledgers.cpu_time, thread->current_quantum);
187 processor->quantum_end = mach_absolute_time() + thread->current_quantum;
H A Dsched_prim.c936 thread->current_quantum = 0;
1937 processor->quantum_end = processor->last_dispatch + thread->current_quantum;
2338 consumed = thread->current_quantum - remainder;
2358 thread->current_quantum = (uint32_t)remainder;
2360 thread->current_quantum = 0;
2367 if (thread->current_quantum == 0) {
2378 if (thread->current_quantum < min_std_quantum) {
2380 thread->current_quantum += SCHED(initial_quantum_size)(thread);
2390 self->current_quantum = thread->current_quantum;
[all...]
H A Dthread.h245 uint32_t current_quantum; /* duration of current quantum */ member in struct:thread
247 uint64_t last_quantum_refill_time; /* time when current_quantum was refilled after expiration */
H A Dthread.c208 thread_template.current_quantum = 0;

Completed in 28 milliseconds