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

enable CNTVCT_EL0 by default on aarch64 #287

Open
stevengj opened this issue Jun 23, 2022 · 0 comments
Open

enable CNTVCT_EL0 by default on aarch64 #287

stevengj opened this issue Jun 23, 2022 · 0 comments

Comments

@stevengj
Copy link
Contributor

stevengj commented Jun 23, 2022

As suggested here.

Should work on MacOS and Linux at least? Pro: most ARM users will get a cycle counter that way, and they might not know to enable it otherwise (we silently revert to ESTIMATE plans. Con: it's possible that on some systems this register won't be available … but at least it will fail loudly (crash) in that case, and this doesn't seem to be a problem for the most common ARM platforms these days(?)

cc @rdolbeau

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant