@@ -256,15 +256,6 @@ def extract_metrics(
256256 # =========================================================================
257257 merge_jsons (logPath , metrics_dict , "2_*.json" )
258258
259- extractTagFromFile (
260- "floorplan__design__instance__count__swapped_arithmetic_operator" ,
261- metrics_dict ,
262- r"^\[INFO RSZ-\d+\] (\d+) arithmetic instances have swapped.*" ,
263- logPath + "/2_1_floorplan.log" ,
264- defaultNotFound = 0 ,
265- required = False ,
266- )
267-
268259 # Place
269260 # =========================================================================
270261 merge_jsons (logPath , metrics_dict , "3_*.json" )
@@ -293,26 +284,6 @@ def extract_metrics(
293284 rptPath + "/6_finish.rpt" ,
294285 )
295286
296- extractTagFromFile (
297- "placeopt__design__instance__count__swapped_arithmetic_operator" ,
298- metrics_dict ,
299- r"^\[INFO RSZ-\d+\] (\d+) arithmetic instances have swapped.*" ,
300- logPath + "/3_4_place_resized.log" ,
301- defaultNotFound = 0 ,
302- required = False ,
303- )
304-
305- floorplan_swapped = metrics_dict .get (
306- "floorplan__design__instance__count__swapped_arithmetic_operator" , 0
307- )
308- placeopt_swapped = metrics_dict .get (
309- "placeopt__design__instance__count__swapped_arithmetic_operator" , 0
310- )
311- total_swapped = int (floorplan_swapped ) + int (placeopt_swapped )
312- metrics_dict ["finish__design__instance__count__swapped_arithmetic_operator" ] = (
313- total_swapped
314- )
315-
316287 extractGnuTime ("finish" , metrics_dict , logPath + "/6_report.log" )
317288
318289 # Accumulate time
0 commit comments