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. <br>
<br><div class="gmail_quote">On Tue, Apr 27, 2010 at 11:05 AM, Dimitry Golubovsky <span dir="ltr"><<a href="mailto:golubovsky@gmail.com">golubovsky@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
OK, makes sense.<br>
<br>
Thank you.<br>
<br>
On Tue, Apr 27, 2010 at 10:58 AM, Michael Lesniak<br>
<<a href="mailto:mlesniak@uni-kassel.de">mlesniak@uni-kassel.de</a>> wrote:<br>
<br>
[skip]<br>
> numCapabilities, I think.<br>
<div class="im"><br>
<br>
--<br>
Dimitry Golubovsky<br>
<br>
Anywhere on the Web<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br>