[Qt-interest] Determine the number of CPU's/cores

Mihail Naydenov mlists at ymail.com
Fri Oct 23 14:40:52 CEST 2009


"int QThread::idealThreadCount ()   [static]
Returns the ideal number of threads that can be run on the system. This is done querying the number of processor cores, both real and logical, in the system."

MihailNaydenov

----- Original Message ----
> From: Anatoly Burakov <burakov.anatoly at googlemail.com>
> To: qt-interest at trolltech.com
> Sent: Fri, October 23, 2009 3:32:18 PM
> Subject: [Qt-interest] Determine the number of CPU's/cores
> 
> Hi all
> 
> Is there a way to determine the number of CPU's/cores on a machine?
> 
> Best regards,
> Anatoly
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest



      



More information about the Qt-interest-old mailing list