HPCToolkit/hpcviewer.e4

meta.db: Not enough merging in bottom-up and flat views

Closed this issue · 1 comments

The merging in the bottom-up and flat views does not occur as often as desired in some meta.db databases:

  1. Scopes with the same flat ids are not always merged in the bottom-up view at the root level. Enabling CCT ids shows the same ids for these scopes as well. Nothing in the GUI appears to differentiate between when this happens and when it doesn't.
  2. Inlined scopes sometimes have different flat ids when they shouldn't (e.g. same function called from the same line). This is not always a cascading effect from (1).

Examples from a small OpenMP-only LAMMPS run:

  1. The selected lines have matching flat ids (272, 282, 267), but are not merged in the bottom-up view for unobvious reasons.
    image
    In the flat view these rows are merged without issue.
    image
  2. The selected lines are calls inlined in the same root functions but with incorrectly differing flat ids. The second case in particular is unrelated to (1).
    image

Platform (please complete the following information):

  • OS: Linux
  • Architecture: x86_64
  • Version: Current develop (ade248d)