-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Autodesk: Add new options to enable or disable the trace and the performance log in Hd #3645
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
Conversation
|
Filed as internal issue #USD-11029 (This is an automated message. See here for more information.) |
|
We are very sympathetic to the desires for this change! We are fine with changing So, can you change teh guards from Thank you! |
Hi @spiffmon , thank you for your comments. For the HD_PERF_ENABLE, we also need to add the similar block, right? And I think we also need to remove the changes in build system? |
|
I believe so, yes. |
|
Branch updated. Let us know if this addresses your concerns. |
|
Thanks, @erikaharrison-adsk - this looks great! |
|
There's still another issue here we need to address. We would like the build to still succeed if we disable the We could work around this if we just made disabling the I think this would give the outcome everyone wants ( |
@erikaharrison-adsk @PierreWang - Did my proposal above seem acceptable to you? Also, just FYI, I work at Pixar and am the person landing this change in the tree. I realize that may not have been obvious in my previous comment. |
This should work for us. I like this idea. And I will make this change. |
Great! I actually already have this change made locally (making the |
Description of Change(s)
Add options to enable or disable tracing. And add another option to enable or disable the performance log in hd.
Tracing and performance log is valuable for profiling. But in a formal release, they will impact the performance. So we should add the ability to disable the two features.
By default, both features are still enabled.
Link to proposal (if applicable)
Fixes Issue(s)
Checklist
I have created this PR based on the dev branch
I have followed the coding conventions
I have added unit tests that exercise this functionality (Reference:
testing guidelines)
I have verified that all unit tests pass with the proposed changes
I have submitted a signed Contributor License Agreement (Reference:
Contributor License Agreement instructions)