Skip to content

Commit a7c899d

Browse files
committed
make: all target prints time spent summary
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 5f70ece commit a7c899d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flow/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,9 @@ finish: $(LOG_DIR)/6_report.log \
627627
$(RESULTS_DIR)/6_final.v \
628628
$(RESULTS_DIR)/6_final.sdc \
629629
$(GDS_FINAL_FILE)
630+
@printf "%-25s %10s\n" Log "Elapsed seconds"
631+
@grep Elapsed $(abspath $(LOG_DIR))/*.log | awk -F'[:. ]' '{sub(".*+/","",$$1); sub(".log:","",$$1); sub("\\:","",$$1); printf "%-25s %10s\n", $$1, $$6 * 60 +$$7}'
632+
630633
# ==============================================================================
631634

632635
ifneq ($(USE_FILL),)

0 commit comments

Comments
 (0)