|
|
今天在看关于CPU Count的一段程序时候发现了以下三个变量:
3 v4 r7 d& M2 x6 i! R4 {; QwPriCpuCount dw 0 ; number of physical processors in the system.& f1 ?4 W4 J) N$ v% i# A7 A& d O% [. l8 s
wCoreCount dw 0 ; number of cores in the system.
8 |- d" ?7 D% W ~0 _/ |2 @. R# |wThreadCount dw 0 ; number of threads (HT CPU) in the system.
5 Z* v3 Z2 T1 g7 G( N& y不知道physical processors in the system,cores in the system,以及threads (HT CPU) in the system三者之间是什么关系?4 ~! k2 `4 \& w, i, b/ b
还望各位大侠指点迷津,十分感激! |
|