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

/darwin-on-arm/xnu/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.c2792 * state associated with @oldThread (and the task to which @oldThread belongs),
2798 boolean_t pmc_context_switch(thread_t oldThread, thread_t newThread) { argument
2807 if ((oldThread == resv->thread) && pmc_accessible_from_core(resv->pmc, cpuNum)) {
2815 if ((resv->task == oldThread->task) && pmc_accessible_from_core(resv->pmc, cpuNum)) {

Completed in 22 milliseconds