Log context switch time, shorten logging a bit.

This is really useful for seeing why games are slow or hanging.
This commit is contained in:
Unknown W. Brackets committed 2013-08-25 10:25:49 -07:00
1 parent 2d806b4820
commit 8d7eb265be
3 files changed
+19 -10

No files matched your search

+2 -2
View File
@@ -407,9 +407,9 @@ void __KernelReturnFromInterrupt()
{
// Otherwise, we reschedule when dispatch was enabled, or switch back otherwise.
if (__KernelIsDispatchEnabled())
__KernelReSchedule("return from interrupt");
__KernelReSchedule("left interrupt");
else
__KernelSwitchToThread(threadBeforeInterrupt, "return from interrupt");
__KernelSwitchToThread(threadBeforeInterrupt, "left interrupt");
}
}