mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +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 );
|
||||
if( sit == sym0->second.parents.end() )
|
||||
{
|
||||
sym0->second.parents.emplace( idx, 1 );
|
||||
sym0->second.parents.emplace( idx, count );
|
||||
}
|
||||
else
|
||||
{
|
||||
sit->second++;
|
||||
sit->second += count;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user