找回密码
 加入计匠网
搜索
热搜: BIOS ACPI CPU Windows
查看: 8405|回复: 4

请教一个关于Processor Count的问题,望各位大侠给指点迷津

[复制链接]
发表于 2009-1-14 20:43:07 | 显示全部楼层 |阅读模式
今天在看关于CPU Count的一段程序时候发现了以下三个变量:
' N, A) r0 s  z/ @& e" [; O8 IwPriCpuCount        dw 0 ; number of physical processors in the system.0 C9 a' J7 {6 i" A, B( z
wCoreCount        dw 0 ; number of cores in the system.  x1 ]$ q6 Q2 }- R9 \6 D+ _, D! O
wThreadCount        dw 0 ; number of threads (HT CPU) in the system.+ c+ t$ ]) ]0 S
不知道physical processors in the system,cores in the system,以及threads (HT CPU) in the system三者之间是什么关系?
4 l6 i4 }' k1 e7 g0 G7 p. K还望各位大侠指点迷津,十分感激!
 楼主| 发表于 2009-1-14 20:45:18 | 显示全部楼层
另外在补充一个问题:在开机POST时候显示的CPU Count指的是什么?请各位高手谈谈自己的看法
回复

使用道具 举报

发表于 2009-1-15 13:01:26 | 显示全部楼层
拿双核来说,
! Q0 W0 X8 K! b) {外观上看有一个physical processors ; ~* m, `3 D" _& ~0 r4 L4 F, S1 x  X; {
里面有 两个cores1 j. T6 Q, z* D' M2 l6 P+ k
如果每个core实现了2个线程- c) t& M+ Y$ T$ Y
则该cpu有四个线程
回复

使用道具 举报

发表于 2009-1-15 15:35:15 | 显示全部楼层
CPU Count应该是指逻辑CPU的数量,包括超线程,双核什么的
回复

使用道具 举报

 楼主| 发表于 2009-1-19 15:26:58 | 显示全部楼层
谢谢qdk0901和yuhensong的解答,我明白怎么回事了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 加入计匠网

本版积分规则

Archiver|手机版|小黑屋|计匠网

GMT+8, 2026-6-8 08:13 , Processed in 0.149131 second(s), 17 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表