Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: Finding CPU stats on Win32?by BrowserUk (Patriarch) |
on Apr 15, 2005 at 22:33 UTC ( [id://448366]=note: print w/replies, xml ) | Need Help?? |
Detecting hyperthreading has to be done from assembler, and I'm not aware of any Win32 API that provides that information. There is an article on the Intel website that explains the intracacies. Update: Here's an implementation in D. It should be trivial to convert to C.
Update2: I also turned up this quite comprehensive cpu features detector sample on MSDN Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco.
Rule 1 has a caveat! -- Who broke the cabal?
In Section
Seekers of Perl Wisdom
|
|