mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-26 05:05:16 -04:00
parent
b31c023c7b
commit
f5d0261ccb
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 titel, plot, timing in zip(titles, plots, timings):
|
||||
for title, plot, timing in zip(titles, plots, timings):
|
||||
timing["rest"] = timing["total"] - sum([timing.get(r, 0.0) for r in routines])
|
||||
|
||||
full_title = f"Timings of {titel}"
|
||||
full_title = f"{title}: {timings['total']} s"
|
||||
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