Skip to content
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

Add support for 64bit event selectors. New APIs. #272

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NandkumarJoshi
Copy link
Contributor

Add support for 64bit event selectors for U8.
Add API to get supported no. of HPM counters.
Add API to assign user values to event selector register.
PR fix for changes requested by @BrianGraysonSiV

src/hpm.c Outdated Show resolved Hide resolved
Copy link
Contributor

@nategraff-sifive nategraff-sifive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @BrianGraysonSiV that uintptr_t is the wrong type for these APIs.

New API to get supported no. of HPM counters.
New API to assign user values to event selector register.
Add metal_cpureg_t as a cpu register-size dependent type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants