[Haskell-cafe] Number of CPUs/cores?

Daniel Peebles pumpkingod at gmail.com
Tue Apr 27 15:27:55 EDT 2010


I believe numCapabilities (should be in IO, in my opinion, but that's
another discussion) will tell you the number of capabilities (native
threads) that have been given to the RTS. The measurement doesn't
necessarily have any connection to the number of physical cores or
processors in your machine.

On Tue, Apr 27, 2010 at 11:05 AM, Dimitry Golubovsky
<golubovsky at gmail.com>wrote:

> OK, makes sense.
>
> Thank you.
>
> On Tue, Apr 27, 2010 at 10:58 AM, Michael Lesniak
> <mlesniak at uni-kassel.de> wrote:
>
> [skip]
> > numCapabilities, I think.
>
>
> --
> Dimitry Golubovsky
>
> Anywhere on the Web
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100427/11b1d388/attachment.html


More information about the Haskell-Cafe mailing list