summaryrefslogtreecommitdiffstats
path: root/src/tests/core/core_timing.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-06-15 16:12:41 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-06-16 20:14:35 +0200
commit90792cdb6ea8f1676bd54309767209a4ec84a46f (patch)
treeeae330371459c0f9b71fcbf1c68e2fb01d19e294 /src/tests/core/core_timing.cpp
parentMerge pull request #2578 from lioncash/cnmt (diff)
downloadyuzu-90792cdb6ea8f1676bd54309767209a4ec84a46f.tar
yuzu-90792cdb6ea8f1676bd54309767209a4ec84a46f.tar.gz
yuzu-90792cdb6ea8f1676bd54309767209a4ec84a46f.tar.bz2
yuzu-90792cdb6ea8f1676bd54309767209a4ec84a46f.tar.lz
yuzu-90792cdb6ea8f1676bd54309767209a4ec84a46f.tar.xz
yuzu-90792cdb6ea8f1676bd54309767209a4ec84a46f.tar.zst
yuzu-90792cdb6ea8f1676bd54309767209a4ec84a46f.zip
Diffstat (limited to '')
-rw-r--r--src/tests/core/core_timing.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/tests/core/core_timing.cpp b/src/tests/core/core_timing.cpp
index 340d6a272..f8be8fd19 100644
--- a/src/tests/core/core_timing.cpp
+++ b/src/tests/core/core_timing.cpp
@@ -99,24 +99,24 @@ TEST_CASE("CoreTiming[Threadsave]", "[core]") {
core_timing.Advance();
// D -> B -> C -> A -> E
- core_timing.ScheduleEventThreadsafe(1000, cb_a, CB_IDS[0]);
- // Manually force since ScheduleEventThreadsafe doesn't call it
+ core_timing.ScheduleEvent(1000, cb_a, CB_IDS[0]);
+ // Manually force since ScheduleEvent doesn't call it
core_timing.ForceExceptionCheck(1000);
REQUIRE(1000 == core_timing.GetDowncount());
- core_timing.ScheduleEventThreadsafe(500, cb_b, CB_IDS[1]);
- // Manually force since ScheduleEventThreadsafe doesn't call it
+ core_timing.ScheduleEvent(500, cb_b, CB_IDS[1]);
+ // Manually force since ScheduleEvent doesn't call it
core_timing.ForceExceptionCheck(500);
REQUIRE(500 == core_timing.GetDowncount());
- core_timing.ScheduleEventThreadsafe(800, cb_c, CB_IDS[2]);
- // Manually force since ScheduleEventThreadsafe doesn't call it
+ core_timing.ScheduleEvent(800, cb_c, CB_IDS[2]);
+ // Manually force since ScheduleEvent doesn't call it
core_timing.ForceExceptionCheck(800);
REQUIRE(500 == core_timing.GetDowncount());
- core_timing.ScheduleEventThreadsafe(100, cb_d, CB_IDS[3]);
- // Manually force since ScheduleEventThreadsafe doesn't call it
+ core_timing.ScheduleEvent(100, cb_d, CB_IDS[3]);
+ // Manually force since ScheduleEvent doesn't call it
core_timing.ForceExceptionCheck(100);
REQUIRE(100 == core_timing.GetDowncount());
- core_timing.ScheduleEventThreadsafe(1200, cb_e, CB_IDS[4]);
- // Manually force since ScheduleEventThreadsafe doesn't call it
+ core_timing.ScheduleEvent(1200, cb_e, CB_IDS[4]);
+ // Manually force since ScheduleEvent doesn't call it
core_timing.ForceExceptionCheck(1200);
REQUIRE(100 == core_timing.GetDowncount());