mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Reduce sampling frequency.
This commit is contained in:
parent
b1e4d16537
commit
b2d5fe8e1f
@ -787,7 +787,7 @@ static void SetupSampling( int64_t& samplingPeriod )
|
|||||||
pe = {};
|
pe = {};
|
||||||
pe.type = PERF_TYPE_HARDWARE;
|
pe.type = PERF_TYPE_HARDWARE;
|
||||||
pe.size = sizeof( perf_event_attr );
|
pe.size = sizeof( perf_event_attr );
|
||||||
pe.sample_freq = 10000;
|
pe.sample_freq = 5000;
|
||||||
pe.sample_type = PERF_SAMPLE_IP;
|
pe.sample_type = PERF_SAMPLE_IP;
|
||||||
pe.disabled = 1;
|
pe.disabled = 1;
|
||||||
pe.exclude_kernel = 1;
|
pe.exclude_kernel = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user