Article View: borland.public.cppbuilder.nativeapi
Article #6237Re: How to detect number of CPUs and hyperthreading?
From: Matt Jacobs
Date: Sat, 28 May 2005 07:07
Date: Sat, 28 May 2005 07:07
15 lines
1333 bytes
1333 bytes
"SubZero" <g_ates@hotmail.com> wrote: >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 > Download the CPUCount source code from Intel. CPUCount2 can detect multi-core CPUs, but it appears Intel has not yet released that source. Actually, they may have released it but then pulled it.
Technical Details
Message-ID:
<m16g91dlp8sq28pjbgrou8a5i24i0ds5uh@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<428f19db$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f023ae5d6b5f79c7 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Matt Jacobs <noyb@noyb.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: How to detect number of CPUs and hyperthreading? Date: Sat, 28 May 2005 00:07:09 -0700 Reply-To: __noyb@noyb.com Message-ID: <m16g91dlp8sq28pjbgrou8a5i24i0ds5uh@4ax.com> References: <428f19db$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 4.246.232.24 X-Trace: newsgroups.borland.com 1117263997 4.246.232.24 (28 May 2005 00:06:37 -0700) Lines: 15 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail