Reduce timer calibration delay to 200 ms.

This commit is contained in:
Bartosz Taudul 2017-11-25 13:34:26 +01:00
parent a515bf8878
commit f67465e784

View File

@ -449,7 +449,7 @@ void Profiler::CalibrateTimer()
const auto t0 = std::chrono::high_resolution_clock::now(); const auto t0 = std::chrono::high_resolution_clock::now();
const auto r0 = tracy_rdtscp( cpu ); const auto r0 = tracy_rdtscp( cpu );
std::atomic_signal_fence( std::memory_order_acq_rel ); std::atomic_signal_fence( std::memory_order_acq_rel );
std::this_thread::sleep_for( std::chrono::milliseconds( 500 ) ); std::this_thread::sleep_for( std::chrono::milliseconds( 200 ) );
std::atomic_signal_fence( std::memory_order_acq_rel ); std::atomic_signal_fence( std::memory_order_acq_rel );
const auto t1 = std::chrono::high_resolution_clock::now(); const auto t1 = std::chrono::high_resolution_clock::now();
const auto r1 = tracy_rdtscp( cpu ); const auto r1 = tracy_rdtscp( cpu );