Merge pull request #12454 from liamwhite/ct-stuff
core_timing: minor refactors
This commit is contained in:
commit
aa9ff2ffc2
15 changed files with 101 additions and 110 deletions
|
@ -238,7 +238,7 @@ struct KernelCore::Impl {
|
|||
void InitializePreemption(KernelCore& kernel) {
|
||||
preemption_event = Core::Timing::CreateEvent(
|
||||
"PreemptionCallback",
|
||||
[this, &kernel](std::uintptr_t, s64 time,
|
||||
[this, &kernel](s64 time,
|
||||
std::chrono::nanoseconds) -> std::optional<std::chrono::nanoseconds> {
|
||||
{
|
||||
KScopedSchedulerLock lock(kernel);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue