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

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

[复制链接]
发表于 2009-1-14 20:43:07 | 显示全部楼层 |阅读模式
今天在看关于CPU Count的一段程序时候发现了以下三个变量:
# v  e3 R6 m) P- c  S( B* U) ]# q6 gwPriCpuCount        dw 0 ; number of physical processors in the system.! z% G/ r# M& C, M# f1 ?
wCoreCount        dw 0 ; number of cores in the system.
" s# h& r; l* ^( |/ P; TwThreadCount        dw 0 ; number of threads (HT CPU) in the system.6 X# x% J! f5 G8 s7 X  }* j
不知道physical processors in the system,cores in the system,以及threads (HT CPU) in the system三者之间是什么关系?
8 C6 j7 h; R9 N还望各位大侠指点迷津,十分感激!
 楼主| 发表于 2009-1-14 20:45:18 | 显示全部楼层
另外在补充一个问题:在开机POST时候显示的CPU Count指的是什么?请各位高手谈谈自己的看法
回复

使用道具 举报

发表于 2009-1-15 13:01:26 | 显示全部楼层
拿双核来说,& J5 U- l$ m- r1 E0 m
外观上看有一个physical processors 8 ?! `3 o+ H( f- d. V; c4 B
里面有 两个cores
3 F6 H" r" W9 M, x) y7 `: j如果每个core实现了2个线程7 {8 Z8 Y# T# U5 E4 g  V
则该cpu有四个线程
回复

使用道具 举报

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

使用道具 举报

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

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-4-4 16:20 , Processed in 0.206982 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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