Searched refs:newThread (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/osfmk/pmc/
H A Dpmc.h734 * for newThread (and the task associated with newThread). This method is for xnu-internal context switching routines only.
736 boolean_t pmc_context_switch(thread_t oldThread, thread_t newThread);
H A Dpmc.c2793 * as well as to restore all pmc state associated with @newThread (and the task
2794 * to which @newThread belongs).
2798 boolean_t pmc_context_switch(thread_t oldThread, thread_t newThread) { argument
2824 if ((resv->thread == newThread) && pmc_accessible_from_core(resv->pmc, cpuNum)) {
2832 if ((resv->task == newThread->task) && pmc_accessible_from_core(resv->pmc, cpuNum)) {

Completed in 19 milliseconds