Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Invalid cost attribution in the Flat view for inlined functions #200

@laksono

Description

@laksono

Describe the bug
The cost attribution of inlined functions can be incorrect if they are called from different sources (or scopes).

To Reproduce

  1. Open any quicksilver database
  2. Open the Flat view
  3. Expand qs load module
  4. Expand ParticleVault.cc file
  5. Expand the constructor
  6. Open each loop inside the constructor
  7. 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
image

Platform (please complete the following information):
All platforms

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingresolvedResolved, but need to be tested and confirmed

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions