|
|
今天在看关于CPU Count的一段程序时候发现了以下三个变量:
+ R( k* W$ B* x1 g' @: f/ mwPriCpuCount dw 0 ; number of physical processors in the system.
- {, P9 y' }; c1 V" G/ l# {9 X9 s# awCoreCount dw 0 ; number of cores in the system.
3 X, F4 d R2 u0 TwThreadCount dw 0 ; number of threads (HT CPU) in the system.
$ [' f+ j8 `6 ~$ d! Z5 u0 R% J不知道physical processors in the system,cores in the system,以及threads (HT CPU) in the system三者之间是什么关系?
, h+ k: p/ X# n% y+ }6 d还望各位大侠指点迷津,十分感激! |
|