diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-04-02 15:22:53 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-10-15 17:55:12 +0200 |
commit | fcc6b34fff3c9322a35e6457a699e70585a7e014 (patch) | |
tree | 7fbd96994170ff2707f65e42dc6a4832c6531d07 /src/core/core.cpp | |
parent | Comment and reorganize the scheduler (diff) | |
download | yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.gz yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.bz2 yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.lz yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.xz yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.zst yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.zip |
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r-- | src/core/core.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 5565840fd..4a95630bd 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -404,6 +404,11 @@ void System::PrepareReschedule() { CurrentCpuCore().PrepareReschedule(); } +void System::PrepareReschedule(s32 core_index) { + if (core_index >= 0) + CpuCore(core_index).PrepareReschedule(); +} + PerfStatsResults System::GetAndResetPerfStats() { return impl->GetAndResetPerfStats(); } |