CPUName() question

Everything else that doesn't fall into one of the other PB categories.
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

CPUName() question

Post by Dude »

Will the output of CPUName() change if I never change my hardware? Or will it be static and reliable? The manual is a little confusing, as it says the output shouldn't be used at runtime. :?
User avatar
Keya
Addict
Addict
Posts: 1890
Joined: Thu Jun 04, 2015 7:10 am

Re: CPUName() question

Post by Keya »

its just a cpuid wrapper, its fine to use at runtime - the warning in the docs is because the string can be changed, for example in VMs you can patch cpuid responses, and overclocking might change the printout of the "@ 2.80GHz" part, so just as the docs say its not a reliable way to identify a CPU, i believe you should be looking at the family/model/stepping etc numbers for that (cpuid eax=1)
Post Reply