mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 13:45:19 -04:00
Revert "Performance: show total time as part if the title"
This reverts commit f5d0261ccb.
This commit is contained in:
parent
bb352791de
commit
0ce55f53af
1 changed files with 2 additions and 2 deletions
|
|
@ -26,10 +26,10 @@ def main():
|
|||
routines.remove("total")
|
||||
routines.sort(reverse=True, key=lambda r: timings[0].get(r, 0.0))
|
||||
|
||||
for title, plot, timing in zip(titles, plots, timings):
|
||||
for titel, plot, timing in zip(titles, plots, timings):
|
||||
timing["rest"] = timing["total"] - sum([timing.get(r, 0.0) for r in routines])
|
||||
|
||||
full_title = f"{title}: {timings['total']} s"
|
||||
full_title = f"Timings of {titel}"
|
||||
print(f'Plot: name="{plot}", title="{full_title}", ylabel="time [s]"')
|
||||
for r in ["rest"] + routines:
|
||||
t = timing.get(r, 0.0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue