diff options
| author | Mai <mathew1800@gmail.com> | 2022-06-14 21:07:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-14 21:07:47 -0400 |
| commit | 18858841764b94566fa75d39236ee5aab21614eb (patch) | |
| tree | 7f9899bf3621fd4be5d7ef224a4c1f113aa2862e /src/core/cpu_manager.cpp | |
| parent | c1c931d97e0e7f6b7249daeb22f2d19b2062c0b2 (diff) | |
| parent | a6c1036ddc1f4b548c44419633ca6c61034ed355 (diff) | |
Merge pull request #8462 from liamwhite/dynarmic-profile
core: centralize profile scope for Dynarmic
Diffstat (limited to 'src/core/cpu_manager.cpp')
| -rw-r--r-- | src/core/cpu_manager.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cpp index b4718fbbe0..132fe5b60a 100644 --- a/src/core/cpu_manager.cpp +++ b/src/core/cpu_manager.cpp @@ -113,12 +113,10 @@ void CpuManager::MultiCoreRunGuestLoop() { while (true) { auto* physical_core = &kernel.CurrentPhysicalCore(); - system.EnterDynarmicProfile(); while (!physical_core->IsInterrupted()) { physical_core->Run(); physical_core = &kernel.CurrentPhysicalCore(); } - system.ExitDynarmicProfile(); { Kernel::KScopedDisableDispatch dd(kernel); physical_core->ArmInterface().ClearExclusiveState(); @@ -166,12 +164,10 @@ void CpuManager::SingleCoreRunGuestLoop() { auto& kernel = system.Kernel(); while (true) { auto* physical_core = &kernel.CurrentPhysicalCore(); - system.EnterDynarmicProfile(); if (!physical_core->IsInterrupted()) { physical_core->Run(); physical_core = &kernel.CurrentPhysicalCore(); } - system.ExitDynarmicProfile(); kernel.SetIsPhantomModeForSingleCore(true); system.CoreTiming().Advance(); kernel.SetIsPhantomModeForSingleCore(false); |
