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

/xnu-2422.115.4/osfmk/pmc/
H A Dpmc.h733 * @discussion This method will save all PMCs reserved for oldThread (and the task associated with oldThread), as well as restore all PMCs reserved
736 boolean_t pmc_context_switch(thread_t oldThread, thread_t newThread);
H A Dpmc.c2790 * state associated with @oldThread (and the task to which @oldThread belongs),
2796 boolean_t pmc_context_switch(thread_t oldThread, thread_t newThread) { argument
2805 if ((oldThread == resv->thread) && pmc_accessible_from_core(resv->pmc, cpuNum)) {
2813 if ((resv->task == oldThread->task) && pmc_accessible_from_core(resv->pmc, cpuNum)) {

Completed in 67 milliseconds