Skip to content

Commit 53ef884

Browse files
committed
time.perf_counter
1 parent 071395a commit 53ef884

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Tools/inspection/oracle_external_inspection.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ def run_mode(case, mode_name, args):
173173
if not args.poisson_sampling:
174174
next_sample += period
175175

176+
if time.perf_counter() >= deadline:
177+
break
178+
176179
result["attempts"] += 1
177180
work_start = time.perf_counter()
178181
try:

0 commit comments

Comments
 (0)