Core: Reimplement Core Timing.

This commit is contained in:
Fernando Sahmkow 2021-11-27 16:26:48 +01:00
parent 096366ead5
commit 846c994cc9
3 changed files with 95 additions and 57 deletions

View file

@ -27,7 +27,6 @@ void HostCallbackTemplate(std::uintptr_t user_data, std::chrono::nanoseconds ns_
static_assert(IDX < CB_IDS.size(), "IDX out of range");
callbacks_ran_flags.set(IDX);
REQUIRE(CB_IDS[IDX] == user_data);
REQUIRE(CB_IDS[IDX] == CB_IDS[calls_order[expected_callback]]);
delays[IDX] = ns_late.count();
++expected_callback;
}