-
Notifications
You must be signed in to change notification settings - Fork 773
grt: add option to show runtime at the end of global_route execution #9292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
grt: add option to show runtime at the end of global_route execution #9292
Conversation
Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request adds a useful feature to report the runtime of the global routing process. The implementation is straightforward and well-integrated with the existing TCL interface and documentation. I have a few suggestions to improve const-correctness and ensure the accuracy of the timing measurements.
|
clang-tidy review says "All clean, LGTM! 👍" |
Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
|
clang-tidy review says "All clean, LGTM! 👍" |
|
As I commented there ORFS is already using log_cmd to report the time. Having an off by default option doesn't seem that useful. @stefanottili is this what you are asking for and it is still relevant? |
|
a) not everybody is using ORFS, sometimes running a P&R flow in "one script, without getting in/out of the tool" is a good thing. |
GRT is less verbose than DRT, so the |
|
@eder-matheus we suppress runtime related messages in test/helpers.tcl for unit testing to avoid output differences (they occur elsewhere like drt). |
Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
|
clang-tidy review says "All clean, LGTM! 👍" |
Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
|
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
|
clang-tidy review says "All clean, LGTM! 👍" |
Partially covers the comments made here: #3536 (comment)
This PR adds the ability to show the runtime of the global_route command. It is only enabled by using the flag -show_runtime. This is off by default for reproducibility purposes (e.g., unit tests that relies on the tool log).