From 204804ae52e60e937b604f9fad2d0379e728f7f2 Mon Sep 17 00:00:00 2001 From: github action Date: Fri, 24 Sep 2021 03:00:42 +0000 Subject: [PATCH] Apply 'make format' --- bin/verilator_gantt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/verilator_gantt b/bin/verilator_gantt index 0a879588e..1a43cf6a7 100755 --- a/bin/verilator_gantt +++ b/bin/verilator_gantt @@ -179,7 +179,8 @@ def report(): print(" Longest mtask time = %d rdtsc ticks" % long_mtask_time) print(" All-thread mtask time = %d rdtsc ticks" % measured_mt_mtask_time) - long_efficiency = long_mtask_time / (Global.get('measured_last_end', 1) or 1) + long_efficiency = long_mtask_time / (Global.get('measured_last_end', 1) + or 1) print(" Longest-thread efficiency = %0.1f%%" % (long_efficiency * 100.0)) mt_efficiency = measured_mt_mtask_time / ( Global.get('measured_last_end', 1) * nthreads or 1)