mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +00:00
Increase calibration time to half a second.
This commit is contained in:
parent
c609c15f95
commit
48da593ab2
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user