mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 16:54:35 +00:00
Set plot staircase using plot configuration message.
This commit is contained in:
parent
3f51409389
commit
dceb2399ee
@ -5684,13 +5684,13 @@ void Worker::ProcessPlotConfig( const QueuePlotConfig& ev )
|
|||||||
auto plot = m_slab.AllocInit<PlotData>();
|
auto plot = m_slab.AllocInit<PlotData>();
|
||||||
plot->name = name;
|
plot->name = name;
|
||||||
plot->type = PlotType::User;
|
plot->type = PlotType::User;
|
||||||
plot->showSteps = false;
|
|
||||||
return plot;
|
return plot;
|
||||||
}, [this]( uint64_t name ) {
|
}, [this]( uint64_t name ) {
|
||||||
Query( ServerQueryPlotName, name );
|
Query( ServerQueryPlotName, name );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
plot->format = (PlotValueFormatting)ev.type;
|
plot->format = (PlotValueFormatting)ev.type;
|
||||||
|
plot->showSteps = ev.step;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Worker::ProcessMessage( const QueueMessage& ev )
|
void Worker::ProcessMessage( const QueueMessage& ev )
|
||||||
|
Loading…
Reference in New Issue
Block a user