mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Reduce timer calibration delay to 200 ms.
This commit is contained in:
parent
a515bf8878
commit
f67465e784
@ -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( 500 ) );
|
||||
std::this_thread::sleep_for( std::chrono::milliseconds( 200 ) );
|
||||
std::atomic_signal_fence( std::memory_order_acq_rel );
|
||||
const auto t1 = std::chrono::high_resolution_clock::now();
|
||||
const auto r1 = tracy_rdtscp( cpu );
|
||||
|
Loading…
Reference in New Issue
Block a user