From 48da593ab223dd4b5636020f8e10b7aaf8ec528a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 24 Nov 2017 01:43:35 +0100 Subject: [PATCH] Increase calibration time to half a second. --- client/TracyProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 714011b7..29b44962 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -449,7 +449,7 @@ void Profiler::CalibrateTimer() const auto t0 = std::chrono::high_resolution_clock::now(); const auto r0 = tracy_rdtscp( cpu ); std::atomic_signal_fence( std::memory_order_acq_rel ); - std::this_thread::sleep_for( std::chrono::milliseconds( 100 ) ); + std::this_thread::sleep_for( std::chrono::milliseconds( 500 ) ); std::atomic_signal_fence( std::memory_order_acq_rel ); const auto t1 = std::chrono::high_resolution_clock::now(); const auto r1 = tracy_rdtscp( cpu );