Re: gthread: how many cores do I have?
- From: Simon McVittie <simon mcvittie collabora co uk>
- To: gtk-devel-list gnome org
- Subject: Re: gthread: how many cores do I have?
- Date: Mon, 15 Mar 2010 15:01:22 +0000
On Mon, 15 Mar 2010 at 14:31:24 +0000, jcupitt gmail com wrote:
> On 15 March 2010 11:36, Tor Lillqvist <tml iki fi> wrote:
> > Well, firstly the function name should use "processors" and not
> > "cores".
Why? Isn't the interesting metric the number of cores, rather than the number
of fully-independent CPUs? It's the number of cores that determines how many
concurrent threads you can have; the fact that some of your cores are on the
same CPU die is mostly an implementation detail.
(For instance, an old server with two separate Pentium II CPUs, and a modern
laptop with one dual-core CPU, could each run two threads at a time.)
Regards,
smcv
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]