cpuid wrapper

Chris Miller chris at dprogramming.com
Tue Oct 24 06:14:07 PDT 2006


On Tue, 24 Oct 2006 06:11:42 -0400, Tomas Lindquist Olsen  
<tomas at famolsen.dk> wrote:

> Hi all,
> I've written a simple class that encapsulates the cpuid instruction. It  
> could probably be improved and polished, but I'm fairly happy with it.
>

Cool! I was just thinking about detecting the CPU recently.


Vendor string:    GenuineIntel
Processor string:               Intel(R) Pentium(R) 4 CPU 2.66GHz
Features:         MMX SSE SSE2 HTT
Multithreading:   1 threads / 1 cores

HTT with 1 thread/core?



More information about the Digitalmars-d-announce mailing list