Skip to content

Commit bf22caa

Browse files
committed
Update variable naming for consistency
1 parent 33171d8 commit bf22caa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/perf/perf_run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def run(
338338

339339

340340
# Generate report
341-
def recordStats(backend, timings, precision, batch_size=1, compile_time=None):
341+
def recordStats(backend, timings, precision, batch_size=1, compile_time_ms=None):
342342
times = np.array(timings)
343343
steps = len(times)
344344
speeds = batch_size / times
@@ -357,7 +357,7 @@ def recordStats(backend, timings, precision, batch_size=1, compile_time=None):
357357
"Mean(FPS)": speed_mean,
358358
"Median-Latency(ms)": time_med * 1000,
359359
"Mean-Latency(ms)": time_mean * 1000,
360-
"Compile Time(ms)": compile_time,
360+
"Compile Time(ms)": compile_time_ms,
361361
}
362362
results.append(stats)
363363

0 commit comments

Comments
 (0)