diff options
author | bunnei <bunneidev@gmail.com> | 2021-08-26 06:00:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 06:00:18 +0200 |
commit | 98c2f0e57651575c17ac6d2b5db04055abf228ee (patch) | |
tree | d6f7d065cd8e2f00c85b9749076ef303a705c864 /src/core/core.h | |
parent | Merge pull request #6919 from ameerj/vk-int8-capability (diff) | |
parent | Revert "kernel: Various improvements to scheduler" (diff) | |
download | yuzu-98c2f0e57651575c17ac6d2b5db04055abf228ee.tar yuzu-98c2f0e57651575c17ac6d2b5db04055abf228ee.tar.gz yuzu-98c2f0e57651575c17ac6d2b5db04055abf228ee.tar.bz2 yuzu-98c2f0e57651575c17ac6d2b5db04055abf228ee.tar.lz yuzu-98c2f0e57651575c17ac6d2b5db04055abf228ee.tar.xz yuzu-98c2f0e57651575c17ac6d2b5db04055abf228ee.tar.zst yuzu-98c2f0e57651575c17ac6d2b5db04055abf228ee.zip |
Diffstat (limited to 'src/core/core.h')
-rw-r--r-- | src/core/core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index f9116ebb6..715ab88e7 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -205,6 +205,9 @@ public: /// Gets an ARM interface to the CPU core that is currently running [[nodiscard]] const ARM_Interface& CurrentArmInterface() const; + /// Gets the index of the currently running CPU core + [[nodiscard]] std::size_t CurrentCoreIndex() const; + /// Gets the physical core for the CPU core that is currently running [[nodiscard]] Kernel::PhysicalCore& CurrentPhysicalCore(); |