Skip to content

Commit 511bb28

Browse files
committed
bisect_hang.py: print the run time factor
1 parent 57f8779 commit 511bb28

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tools/bisect/bisect_hang.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,7 @@ def run(cppcheck_path, options, elapsed_time=None):
8282
sys.exit(EC_BAD if not invert else EC_GOOD) # timeout occurred
8383

8484
print('run_time: {}'.format(run_time))
85+
run_time_factor = run_time / elapsed_time
86+
print('run_time_factor: {}'.format(run_time_factor))
8587

8688
sys.exit(EC_GOOD if not invert else EC_BAD) # no timeout

0 commit comments

Comments
 (0)