diff options
| author | 2021-08-18 15:42:46 -0700 | |
|---|---|---|
| committer | 2021-08-18 15:42:46 -0700 | |
| commit | aa40084c241129ef08081bae72bd5de1b4c86348 (patch) | |
| tree | b4f406cbf0f230cf9064040992ce3ef8bf54e5a7 /src/core/core.cpp | |
| parent | Merge pull request #6863 from spholz/fix-lan-play (diff) | |
| parent | core: hle: kernel: Disable dispatch count tracking on single core. (diff) | |
| download | yuzu-aa40084c241129ef08081bae72bd5de1b4c86348.tar.gz yuzu-aa40084c241129ef08081bae72bd5de1b4c86348.tar.xz yuzu-aa40084c241129ef08081bae72bd5de1b4c86348.zip | |
Merge pull request #6832 from bunnei/scheduler-improvements
kernel: Various improvements to scheduler
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index d3e84c4ef..5d8a61b3a 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -494,12 +494,6 @@ const ARM_Interface& System::CurrentArmInterface() const { | |||
| 494 | return impl->kernel.CurrentPhysicalCore().ArmInterface(); | 494 | return impl->kernel.CurrentPhysicalCore().ArmInterface(); |
| 495 | } | 495 | } |
| 496 | 496 | ||
| 497 | std::size_t System::CurrentCoreIndex() const { | ||
| 498 | std::size_t core = impl->kernel.GetCurrentHostThreadID(); | ||
| 499 | ASSERT(core < Core::Hardware::NUM_CPU_CORES); | ||
| 500 | return core; | ||
| 501 | } | ||
| 502 | |||
| 503 | Kernel::PhysicalCore& System::CurrentPhysicalCore() { | 497 | Kernel::PhysicalCore& System::CurrentPhysicalCore() { |
| 504 | return impl->kernel.CurrentPhysicalCore(); | 498 | return impl->kernel.CurrentPhysicalCore(); |
| 505 | } | 499 | } |