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

cpufeatures: requesting support for INVTSC and RDTSCP target feature #1111

Open
rukai opened this issue Sep 12, 2024 · 0 comments
Open

cpufeatures: requesting support for INVTSC and RDTSCP target feature #1111

rukai opened this issue Sep 12, 2024 · 0 comments

Comments

@rukai
Copy link

rukai commented Sep 12, 2024

At least I think thats what I want.

What I really want is to replace the usage of raw_cpuid in this file with cpufeatures https://github.com/metrics-rs/quanta/blob/main/src/detection.rs

The reason being that:
rawcpu_id takes ~1.2s to compile in release on my fairly fast machine, due to containing many structs and derives.
Whereas cpufeatures compiles in 0.06s

I'm not sure if it makes sense for cpufeatures to have this functionality but if it does I'm happy to dive in and learn exactly what these bits mean and implement it myself.

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

No branches or pull requests

1 participant