-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-121583: Remove dependency from pystats.h to internal header file #121587
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
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.
Should follow PEP 7.
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.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.
Thanks @mdboom! I'm going to go ahead and land this.
Thanks @mdboom for the PR, and @brandtbucher for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…file (pythonGH-121587) (cherry picked from commit f036a46) Co-authored-by: Michael Droettboom <mdboom@gmail.com> Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
GH-121880 is a backport of this pull request to the 3.13 branch. |
This just uses a fixed number of slots for recording uops stats that is enforced to be big enough.
Alternatively, we could generate the correct number and put it in a public header, but that seems like overkill.