Skip to content

Commit 1f4c0ba

Browse files
committed
Fix ratio of local/IDR timing
1 parent 137774a commit 1f4c0ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check_pixels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def check_image(idr_conn, image, max_planes, check_timing=False):
5353
planes_time_idr = datetime.now() - start_idr
5454

5555
if check_timing:
56-
ratio = planes_time_local.microseconds / planes_time_idr.microseconds
56+
ratio = planes_time_local / planes_time_idr
5757
log("Ratio of local/IDR timing for %s planes is %s Image: %s" % (len(zctList), ratio, image.id))
5858
log("Local took %s, IDR took %s" % (planes_time_local, planes_time_idr))
5959

0 commit comments

Comments
 (0)