Does anyone know how to get information on the processor without using __cpuid or asm?
Printable View
Does anyone know how to get information on the processor without using __cpuid or asm?
cat /proc/cpuinfo
And for windows, you can read the registry at HKLM\Hardware\Description\System\...
Or use WMI.
gg
what information are you lookign for? there are several API command sin windows to return infoz aboutthe hardware.
This is on windows.
I don't want to read reg (it's unreliable).
And these APIs are never in-depth enough.
I'll repeat abachler's question: what information are you interested in?
never mind, I figured out how to get inline asm to access c++ vars. thanks anyway
I was looking for cpuid information (eas: 0)
So basicly, I now have a function that sets a string defining the processor name