Skip to content

Commit 0150a2f

Browse files
authored
Merge pull request #8580 from The-OpenROAD-Project-staging/secure-add-swap-alu-metric
Added a new metric `design__instance__count__swapped_arithmetic_operator`.
2 parents 765b22c + c837d0c commit 0150a2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/rsz/src/ConcreteSwapArithModules.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ bool ConcreteSwapArithModules::doSwapInstances(
281281
"{} arithmetic instances have swapped to improve '{}' target",
282282
swapped_count,
283283
target);
284+
logger_->metric("design__instance__count__swapped_arithmetic_operator",
285+
swapped_count);
284286
return (swapped_count > 0);
285287
}
286288

0 commit comments

Comments
 (0)