Home
last modified time | relevance | path

Searched refs:computation (Results 1 – 12 of 12) sorted by relevance

/xnu-11215/osfmk/kern/
H A Dthread_policy.c335 …onstraint_with_priority_policy_data_t, computation) == offsetof(thread_time_constraint_policy_data…
407 if (info->constraint < info->computation || in thread_policy_set_internal()
408 info->computation > max_rt_quantum || in thread_policy_set_internal()
409 info->computation < min_rt_quantum) { in thread_policy_set_internal()
414 if (info->computation < (info->constraint / 2)) { in thread_policy_set_internal()
415 info->computation = (info->constraint / 2); in thread_policy_set_internal()
416 if (info->computation > max_rt_quantum) { in thread_policy_set_internal()
417 info->computation = max_rt_quantum; in thread_policy_set_internal()
432 thread->realtime.computation = info->computation; in thread_policy_set_internal()
1359 info->computation = thread->realtime.computation; in thread_policy_get()
[all …]
H A Dsched_prim.c1048 (uintptr_t)thread_tid(thread), thread->realtime.deadline, thread->realtime.computation, 0); in thread_unblock()
2836 …if (thread->realtime.computation + hi_thread->realtime.computation + rt_deadline_epsilon >= hi_thr… in thread_select()
3765 (uintptr_t)thread_tid(thread), thread->realtime.deadline, thread->realtime.computation, 0); in thread_dispatch()
4212 new_quantum = thread->realtime.computation; in thread_quantum_init()
4490 …if (ed_thread->realtime.computation + hi_thread->realtime.computation + rt_deadline_epsilon < hi_t… in rt_runq_dequeue()
H A Dthread.h590 uint32_t computation; member
/xnu-11215/osfmk/mach/
H A Dthread_policy.h154 uint32_t computation; member
H A Dthread_policy_private.h183 uint32_t computation; member
/xnu-11215/tests/
H A Dwork_interval_test_unentitled.c43 pol.computation = (uint32_t)nanos_to_abs(10000000); in set_realtime()
H A Dwork_interval_test.c144 pol.computation = (uint32_t)nanos_to_abs(10000000); in set_realtime()
H A Dwork_interval_data_test.c54 pol.computation = (uint32_t)nanos_to_abs(interval_nanos - 1000000); // 1 ms of leeway in set_realtime()
H A Dmach_eventlink.c839 pol.computation = (uint32_t)nanos_to_abs(interval_nanos - 1000000); // 1 ms of leeway in set_realtime()
/xnu-11215/tools/tests/jitter/
H A Dtimer_jitter.c117 pol.computation = COMPUTATION_NANOS * g_mti.denom / g_mti.numer; in thread_setup()
/xnu-11215/tools/tests/zero-to-n/
H A Dzero-to-n.c447 pol.computation = (uint32_t) nanos_to_abs(RT_CHURN_COMP_NANOS * 2); in rt_churn_thread_setup()
636 pol.computation = (uint32_t) nanos_to_abs(LL_COMPUTATION_NANOS); in thread_setup()
639 pol.computation = (uint32_t) nanos_to_abs(COMPUTATION_NANOS); in thread_setup()
/xnu-11215/doc/vm/
H A Dsanitize.md14 mathematical computation and are not responsible for checking if the input