Describe the bug
The cost attribution of inlined functions can be incorrect if they are called from different sources (or scopes).
To Reproduce
Open any quicksilver database
Open the Flat view
Expand qs load module
Expand ParticleVault.cc file
Expand the constructor
Open each loop inside the constructor
The cost of the loop is 0.3%, but the cost of the inlined function is 1.3%.
The reason is that the inlined function is called by different loops and the flat id of the inlined function is the same for each loop.
Screenshots
Platform (please complete the following information):
All platforms
Describe the bug The cost attribution of inlined functions can be incorrect if they are called from different sources (or scopes).
To Reproduce
Screenshots
Platform (please complete the following information): All platforms