summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2021-08-18 15:42:46 -0700
committerGravatar GitHub2021-08-18 15:42:46 -0700
commitaa40084c241129ef08081bae72bd5de1b4c86348 (patch)
treeb4f406cbf0f230cf9064040992ce3ef8bf54e5a7 /src/core/core.cpp
parentMerge pull request #6863 from spholz/fix-lan-play (diff)
parentcore: hle: kernel: Disable dispatch count tracking on single core. (diff)
downloadyuzu-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.cpp6
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
497std::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
503Kernel::PhysicalCore& System::CurrentPhysicalCore() { 497Kernel::PhysicalCore& System::CurrentPhysicalCore() {
504 return impl->kernel.CurrentPhysicalCore(); 498 return impl->kernel.CurrentPhysicalCore();
505} 499}