mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +00:00
Count proper number of parent stacks.
This commit is contained in:
parent
c18584fdbc
commit
bc14ca86f3
@ -5434,11 +5434,11 @@ void Worker::UpdateSampleStatisticsImpl( const CallstackFrameData** frames, uint
|
|||||||
auto sit = sym0->second.parents.find( idx );
|
auto sit = sym0->second.parents.find( idx );
|
||||||
if( sit == sym0->second.parents.end() )
|
if( sit == sym0->second.parents.end() )
|
||||||
{
|
{
|
||||||
sym0->second.parents.emplace( idx, 1 );
|
sym0->second.parents.emplace( idx, count );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sit->second++;
|
sit->second += count;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user