mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Also display non-user plot data count.
This commit is contained in:
+14
-1
@@ -1697,7 +1697,20 @@ uint64_t Worker::GetPlotCount() const
|
||||
uint64_t cnt = 0;
|
||||
for( auto& p : m_data.plots.Data() )
|
||||
{
|
||||
if( p->type != PlotType::Memory )
|
||||
if( p->type == PlotType::User )
|
||||
{
|
||||
cnt += p->data.size();
|
||||
}
|
||||
}
|
||||
return cnt;
|
||||
}
|
||||
|
||||
uint64_t Worker::GetTracyPlotCount() const
|
||||
{
|
||||
uint64_t cnt = 0;
|
||||
for( auto& p : m_data.plots.Data() )
|
||||
{
|
||||
if( p->type != PlotType::User )
|
||||
{
|
||||
cnt += p->data.size();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user