Re: gthread: how many cores do I have?



> Why? Isn't the interesting metric the number of cores, rather than the number
> of fully-independent CPUs?

Depends on what you mean with "CPU". You seem to use the terminology
"CPU == chip"?

Anyway, I didn't suggest using "CPU" but "processor".  Existing
platform APIs traditionally use the term "processor" and not "core"
for this, like sysconf(_SC_NPROCESSORS_ONLN) on Linux and
SYSTEM_INFO.dwNumberOfProcessors on Windows.

--tml


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]