🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6377

How to detect number of CPUs and hyperthreading?

#6377
From: SubZero
Date: Sat, 21 May 2005 11:22
8 lines
1144 bytes
Hello,

I wish to get the number of CPUs, whether they are hyper threading or 
multi-cored. IOW, how many can the machine run concurrently. Any ideas?

Best Regards,

SubZero 
Technical Details
Message-ID: <428f19db$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!newsfeed.bit.nl!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f023ae5d6b5f79c7,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "SubZero" <g_ates@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: How to detect number of CPUs and hyperthreading?
Date: Sat, 21 May 2005 14:22:08 +0300
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 85.99.188.174
Message-ID: <428f19db$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1116674523 85.99.188.174 (21 May 2005 04:22:03 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!newsfeed.bit.nl!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail