mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Reduce number of plot samples from 1024 to 256.
Having 1024 samples proved to be too slow.
This commit is contained in:
@@ -192,7 +192,7 @@ void TimelineItemPlot::Preprocess( const TimelineContext& ctx, TaskDispatch& td,
|
||||
else
|
||||
{
|
||||
// Sync with View::DrawPlot()!
|
||||
constexpr int NumSamples = 1024;
|
||||
constexpr int NumSamples = 256;
|
||||
uint32_t samples[NumSamples];
|
||||
uint32_t cnt = 0;
|
||||
uint32_t offset = it - vec.begin();
|
||||
|
||||
Reference in New Issue
Block a user