[Issue 4462] core.cpuid: Need way to get total number of sockets/physical CPUs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 27 14:18:26 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=4462


David Simcha <dsimcha at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|core.cpuid wrong on Intel   |core.cpuid:  Need way to
                   |machines w/ multiple        |get total number of
                   |physical CPUs               |sockets/physical CPUs


--- Comment #4 from David Simcha <dsimcha at yahoo.com> 2011-02-27 14:15:37 PST ---
(In reply to comment #3)
> To clarify: core.cpuid does NOT provide the number of CPUs in the system.
> Hence, it does not give the total number of available cores.
> ...
> Are there any cases where the reported values are actually wrong? Or is this a
> feature request for the number of physical CPUs?


This is definitely an enhancement request then.  As far as I can tell, the
cores per CPU stuff is actually right (I think).  It's just that I vaguely
remember you stating the opposite at one point, that coresPerCPU actually is a
misnomer and gives the total number of cores across all CPUs.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list