dpl/dpo: rework metrics#10160
Conversation
including counters for number of intermediate and final moves Signed-off-by: Augusto Berndt <augusto.berndt@precisioninno.com>
Signed-off-by: Augusto Berndt <augusto.berndt@precisioninno.com>
include DPO nominal HPWL diff as metric Signed-off-by: Augusto Berndt <augusto.berndt@precisioninno.com>
Signed-off-by: Augusto Berndt <augusto.berndt@precisioninno.com>
There was a problem hiding this comment.
Code Review
This pull request enhances placement analysis by introducing move and attempt tracking across legalization and optimization passes. It refactors reporting logic to include detailed displacement statistics and relocated cell counts, while also updating metric names for better consistency. Review feedback focuses on improving code robustness and style by explicitly including the header, using the std::round function, and standardizing DPO metric names to match the updated DPL naming convention.
Signed-off-by: Augusto Berndt <augusto.berndt@precisioninno.com>
|
clang-tidy review says "All clean, LGTM! 👍" |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 21 days if no further activity occurs. Remove the |
Summary
This PR includes new metrics for DPL and DPO, including:
detailedplace__dpl__legalizer__type).detailedplace__dpl__total__moves).detailedplace__dpo__total__attempts).detailedplace__dpo__relocated__cells).I renamed a few existing metrics, such as from
detailedplace__design__instance__displacement__totaltodetailedplace__dpl__instance__displacement__totalHere is the final result, comparing to master (left):

Type of Change
Impact
no-op
Verification
./etc/Build.sh).