utils
utils copied to clipboard
cpufeatures: requesting support for INVTSC and RDTSCP target feature
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.