IntroductionHyper-Threading Technology and Multi-Core Processor Detection, Part One (Flash* 8.0MB)
Intel engineer Phil Kerly explains how to detect both Hyper-Threading Technology-enabled processors and multi-core processors. More importantly, he presents how to associate which multi-core processors share the same physical processor package as well as how to associate which Hyper-Threading Technology logical processors with which core.
Hyper-Threading Technology and Multi-Core Processor Detection, Part Two (Flash* 9.0MB)
In Part 2, Phil steps through sample code in debug mode to demonstrate the information presented in Part 1. This same code could be incorporated into an application to enable tailored performance optimizations based on the logical-to-physical processor topology.