Log all time measurements

This commit is contained in:
Michel Breyer 2022-02-17 13:44:34 +01:00
parent 02c7a2d431
commit f5361c4cbf

View File

@ -25,3 +25,5 @@ class Timer:
def stop(self):
elapsed_time = time.perf_counter() - self.tic
self.timers[self.name] += elapsed_time
# with open(f"{self.name}.txt", "a") as f:
# f.write(f"{elapsed_time}\n")