Skip to content

Commit

Permalink
utl: do not look for elapsed time in eqy files
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>
  • Loading branch information
Vitor Bandeira committed Jan 16, 2024
1 parent 10bcfa8 commit ba448f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flow/util/genElapsedTime.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ def print_log_dir_times(logdir):

# Loop on all log files in the directory
for f in sorted(pathlib.Path(logdir).glob('**/*.log')):
if "eqy_output" in f:
continue
# Extract Elapsed Time line from log file
with open(str(f)) as logfile:
found = False
Expand Down Expand Up @@ -68,7 +70,7 @@ def print_log_dir_times(logdir):
first = False
print('%-25s %10s' % (os.path.splitext(os.path.basename(str(f)))[0], elapsedTime))
totalElapsed += elapsedTime

if totalElapsed != 0:
print("%-25s %10s" % ( "Total", totalElapsed ))

Expand Down

0 comments on commit ba448f0

Please sign in to comment.