Skip to content

Commit 1d734a3

Browse files
committed
util: plot-running-times.py update to match new log names
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent dac23f6 commit 1d734a3

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

flow/util/plot-running-times.py

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,10 @@ def run():
3939
print("Skipping variant, doesn't compile: " + variant)
4040
result = subprocess.check_output(test_design + " elapsed", shell=True, env=env).decode('utf-8')
4141

42+
# Modify pattern to capture the stage of interest
4243
# Log Elapsed seconds
43-
# 2_6_pdn 40
44-
# 3_1_place_gp_skip_io 1
45-
# 3_2_place_iop 1
46-
# 3_3_place_gp 5
47-
# 3_4_resizer 2
48-
# 3_5_opendp 3
49-
# 4_1_cts 5
50-
# 4_2_cts_fillcell 3
51-
# 5_1_fastroute 5
52-
# 5_2_TritonRoute 297
53-
# 6_1_merge 3
54-
# 6_report 67
55-
pattern = r'^5_2_TritonRoute\s+(\d+)$'
44+
# logname 40
45+
pattern = r'^5_2_route\s+(\d+)$'
5646
match = re.search(pattern, result, re.MULTILINE)
5747
if match is None:
5848
print("Variant skipped: " + variant)

0 commit comments

Comments
 (0)