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