Browse Source

Update kernel.cpp

pull/179/head
Gamer64 7 months ago
committed by crueter
parent
commit
c4254acbd4
  1. 4
      src/core/hle/kernel/kernel.cpp

4
src/core/hle/kernel/kernel.cpp

@ -1279,11 +1279,15 @@ void KernelCore::ExceptionalExitApplication() {
}
void KernelCore::EnterSVCProfile() {
#if MICROPROFILE_ENABLED
impl->svc_ticks[CurrentPhysicalCoreIndex()] = MicroProfileEnter(MICROPROFILE_TOKEN(Kernel_SVC));
#endif
}
void KernelCore::ExitSVCProfile() {
#if MICROPROFILE_ENABLED
MicroProfileLeave(MICROPROFILE_TOKEN(Kernel_SVC), impl->svc_ticks[CurrentPhysicalCoreIndex()]);
#endif
}
Init::KSlabResourceCounts& KernelCore::SlabResourceCounts() {

Loading…
Cancel
Save