This question already has answers here: How to Detect the Number of Physical Processors / Cores on Windows, Mac and Linux
Reading up on this, and specifically reading the Microsoft docs, it looks like it should be returning the number of PHYSICAL processors, and that you should use GetLogicalProcessorInformation to figur
Say we want to compile a large project (say GCC or the Linux kernel) as fast as possible. Does a CPU with hyperthreading capability (say an Intel Core i7) run the compiler any faster with hyperthreadi
I know how to get the processor type, perhaps that\'s the only way, but I\'m actually looking for a way to determine from an application whether it\'s running on a multi-core processor or on a hyper-t