![]() As far as I know, and I could be wrong, AMD does not yet have CPU threads but they have provided a way to detect them that I assume will work on future AMD processors which may have CPU threads. Note that the EDX processor signature value after reset is equivalent to the processor signature output value in the EAX register. I struggled with this until I pieced together the solution below, which I believe works for both AMD and Intel processors. When EAX is initialized to a value of '1', the CPUID instruction returns the Extended Family, Extended Model, Processor Type, Family Code, Model Number and Stepping ID value in the EAX register. 2 CPU cores is a very different thing performance wise. So an OS will report that a Core 2 Duo, for example, has 1 physical and 2 logical CPUs and an Intel P4 with hyper-threads will be reported exactly the same way even though 2 hyper-threads vs. CPU cores are often not considered physical cores by the OS unless they have their own package or die. CPU threads which is different from detecting the number of logical and physical cores in a system. ![]() ![]() The way I understand the question is that you are asking how to detect the number of CPU cores vs. The CPUID instruction returns results about the capabilities and features supported by the processor that this utility is running on. EDIT: This is no longer 100% correct due to Intel's ongoing befuddlement.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |