Skip to content

Commit 8af1207

Browse files
committed
fix: run and sim time precision and units
Signed-off-by: James McCorrie <[email protected]>
1 parent 4b5d01d commit 8af1207

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dvsim/testplan.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,8 +650,8 @@ def get_test_results_table(self, map_full_testplan=True):
650650
continue
651651
pass_rate = self._get_percentage(tr.passing, tr.total)
652652

653-
job_runtime = "" if tr.job_runtime is None else str(tr.job_runtime)
654-
simulated_time = "" if tr.simulated_time is None else str(tr.simulated_time)
653+
job_runtime = "" if tr.job_runtime is None else f"{tr.job_runtime:.3f}s"
654+
simulated_time = "" if tr.simulated_time is None else f"{tr.simulated_time:.3f}us"
655655

656656
table.append(
657657
[

0 commit comments

Comments
 (0)