mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Use maximum possible sampling rate.
This commit is contained in:
parent
4273939cf5
commit
d0930e9053
@ -188,7 +188,7 @@ bool SysTraceStart()
|
||||
if( isOs64Bit )
|
||||
{
|
||||
TRACE_PROFILE_INTERVAL interval = {};
|
||||
interval.Interval = 10000;
|
||||
interval.Interval = 1250; // 8 kHz
|
||||
const auto intervalStatus = TraceSetInformation( 0, TraceSampledProfileIntervalInfo, &interval, sizeof( interval ) );
|
||||
if( intervalStatus != ERROR_SUCCESS ) return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user