Merge pull request #12454 from liamwhite/ct-stuff

core_timing: minor refactors
This commit is contained in:
Narr the Reg 2024-01-01 13:56:31 -06:00 committed by GitHub
commit aa9ff2ffc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 101 additions and 110 deletions

View file

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