|
|
今天在看关于CPU Count的一段程序时候发现了以下三个变量:
: O/ P& n8 a5 I. B3 H9 k2 c& nwPriCpuCount dw 0 ; number of physical processors in the system.4 G/ t) y. e. i
wCoreCount dw 0 ; number of cores in the system.
9 W8 `( ]1 A- K4 J* p' DwThreadCount dw 0 ; number of threads (HT CPU) in the system.
# f/ f+ c0 ?+ p2 U. y不知道physical processors in the system,cores in the system,以及threads (HT CPU) in the system三者之间是什么关系?
4 m! Q2 y, x, i/ y z$ Q还望各位大侠指点迷津,十分感激! |
|