Correct PrepareReschedule

This commit is contained in:
Fernando Sahmkow 2019-04-02 09:22:53 -04:00 committed by FernandoS27
parent 3a94e7ea33
commit fcc6b34fff
6 changed files with 29 additions and 38 deletions

View file

@ -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();
}