Skip to content

Commit 15e7966

Browse files
committed
Remove warning on performance function not running
1 parent 0cf86d0 commit 15e7966

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hpctestlib/sciapps/metalwalls/benchmarks.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,9 @@ def extract_time(
222222
parent (str): The parent section of the report
223223
kind (str): The kind of time to extract (avg or cumul)
224224
"""
225+
if kind is None:
226+
return 0
227+
225228
kind = kind.lower()
226229
if kind == 'avg':
227230
tag = 1

0 commit comments

Comments
 (0)