Skip to content

Commit 60e0da0

Browse files
authored
Merge pull request #1761 from vvbandeira/fix-elapsed
utl: do not look for elapsed time in eqy files
2 parents ec4f1c3 + b947b5c commit 60e0da0

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)