Skip to content

Commit

Permalink
increase timers only for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-ce committed Nov 24, 2023
1 parent e7e9b6e commit 1fa1e29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion unittests/nucleus/nucleus_tile_scheduler_scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,10 @@ std::vector<nucleus::tile_scheduler::tile_types::TileQuad> example_quads_many()

#ifdef __EMSCRIPTEN__
constexpr auto timing_multiplicator = 10;
#else
#elif defined _MSC_VER
constexpr auto timing_multiplicator = 20;
#else
constexpr auto timing_multiplicator = 1;
#endif

} // namespace
Expand Down
4 changes: 3 additions & 1 deletion unittests/nucleus/nucleus_utils_stopwatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@

#ifdef __EMSCRIPTEN__
constexpr auto timing_multiplicator = 10ll;
#else
#elif defined _MSC_VER
constexpr auto timing_multiplicator = 10ll;
#else
constexpr auto timing_multiplicator = 5ll;
#endif

TEST_CASE("nucleus/utils/Stopwatch")
Expand Down

0 comments on commit 1fa1e29

Please sign in to comment.