diff options
author | bunnei <bunneidev@gmail.com> | 2021-08-19 00:42:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-19 00:42:46 +0200 |
commit | aa40084c241129ef08081bae72bd5de1b4c86348 (patch) | |
tree | b4f406cbf0f230cf9064040992ce3ef8bf54e5a7 /src/core/hle/kernel/kernel.h | |
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 yuzu-aa40084c241129ef08081bae72bd5de1b4c86348.tar.gz yuzu-aa40084c241129ef08081bae72bd5de1b4c86348.tar.bz2 yuzu-aa40084c241129ef08081bae72bd5de1b4c86348.tar.lz yuzu-aa40084c241129ef08081bae72bd5de1b4c86348.tar.xz yuzu-aa40084c241129ef08081bae72bd5de1b4c86348.tar.zst yuzu-aa40084c241129ef08081bae72bd5de1b4c86348.zip |
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r-- | src/core/hle/kernel/kernel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 3a6db0b1c..57535433b 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h @@ -146,6 +146,9 @@ public: /// Gets the an instance of the respective physical CPU core. const Kernel::PhysicalCore& PhysicalCore(std::size_t id) const; + /// Gets the current physical core index for the running host thread. + std::size_t CurrentPhysicalCoreIndex() const; + /// Gets the sole instance of the Scheduler at the current running core. Kernel::KScheduler* CurrentScheduler(); |