Skip to content

Commit

Permalink
Convert total runtime output to int
Browse files Browse the repository at this point in the history
  • Loading branch information
berkayurun authored and aewag committed Apr 27, 2023
1 parent 2806c43 commit 58713a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,9 @@ def controller(
t1 = time.time()
m, s = divmod(t1 - t0, 60)
h, m = divmod(m, 60)
clogger.info("Took {}:{}:{} to complete all experiments".format(h, m, s))
clogger.info(
"Took {}:{}:{} to complete all experiments".format(int(h), int(m), int(s))
)

tperindex = (t1 - t0) / len(faultlist)
tperworker = tperindex / num_workers
Expand Down

0 comments on commit 58713a3

Please sign in to comment.