|
|
今天在看关于CPU Count的一段程序时候发现了以下三个变量:
4 C! @% \; b2 J6 |8 r6 [) ywPriCpuCount dw 0 ; number of physical processors in the system.9 q( f' J# [+ S3 r. H$ x8 _8 E
wCoreCount dw 0 ; number of cores in the system.
0 H+ }6 c# B& ]wThreadCount dw 0 ; number of threads (HT CPU) in the system.
* }+ ^0 U1 G9 P& E: p不知道physical processors in the system,cores in the system,以及threads (HT CPU) in the system三者之间是什么关系?6 V) T# w, {$ p. U0 g4 ~, N; }
还望各位大侠指点迷津,十分感激! |
|