diff --git a/preciceprofiling/analyze.py b/preciceprofiling/analyze.py index 8dd165b..9b916a6 100644 --- a/preciceprofiling/analyze.py +++ b/preciceprofiling/analyze.py @@ -117,6 +117,10 @@ def runAnalyze(ns): def analyzeCommand(profilingfile, participant, event, outfile=None, unit="us"): + # Translate display name "total" back to internal name "_GLOBAL" + if event == "total": + event = "_GLOBAL" + run = Run(profilingfile) participants = run.participants()