Skip to content

Commit b947b5c

Browse files
committed
utl: do not look for elapsed time in eqy files
Signed-off-by: Vitor Bandeira <[email protected]>
1 parent 10bcfa8 commit b947b5c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

flow/util/genElapsedTime.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ def print_log_dir_times(logdir):
3232

3333
# Loop on all log files in the directory
3434
for f in sorted(pathlib.Path(logdir).glob('**/*.log')):
35+
if "eqy_output" in str(f):
36+
continue
3537
# Extract Elapsed Time line from log file
3638
with open(str(f)) as logfile:
3739
found = False
@@ -68,7 +70,7 @@ def print_log_dir_times(logdir):
6870
first = False
6971
print('%-25s %10s' % (os.path.splitext(os.path.basename(str(f)))[0], elapsedTime))
7072
totalElapsed += elapsedTime
71-
73+
7274
if totalElapsed != 0:
7375
print("%-25s %10s" % ( "Total", totalElapsed ))
7476

0 commit comments

Comments
 (0)