Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 425
    • Issues 425
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #440
Closed
Open
Issue created Mar 28, 2017 by Admin@OpenFOAM-adminMaintainer

Profiling does not correctly store data if two instances of profiling::Information have the same name

In cases where two profiling::Information-instances were created with the same name but different parents (for Example: energy-equation in a chtCase) only one was created and used for accounting the wrong parent. Which leads to strange/unusable profiling results because the parent might "believe" that more time was spent in its children (leading to negative "self"-times).

This patch is a port of the way it was implemented in the original profiling-patch (but there a STL-datastructure was used to make sure that profiling::Information ls looked for by name AND parent-ID. Now it uses a Foam-container)

profilingFixSameNameDifferentParent.patch

Assignee
Assign to
Time tracking