Collect more unique info about CPU model
Closed this issue · 0 comments
I'm by no means familiar with Rust myself, but SO referred me to this specific place in the code.
ya-runtime-vm/runtime/src/main.rs
Lines 433 to 448 in e5617ef
The community would love to have more unique details about the CPU instead of the data collected from .model as that isn't unique. This would allow the requestors to filter out older CPU's and favor newer ones for higher performance. It would also provide better information on the public stats page regarding what people price their hardware for.
Reza from the community proposed this:
CPUID instruction returns lots of info, some stats like model number(unque per model) or anything that is unique per cpu model, if included, would be great to have.
I'm not familiar with Rust myself so I don't know if this is large request or not.
EDIT:
Community user found the info that we are interested in:
"The "brand" field is more interesting than the family, model and stepping fields that currently collected. It is accessible via this method: https://docs.rs/raw-cpuid/9.0.0/raw_cpuid/struct.ExtendedFunctionInfo.html#method.processor_brand_string"
Brand specifically outputs this brand = "Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz"
Here's a sample output.
cpuid.log