[Qt-interest] get number of logical cpus
Sean Harmer
sean.harmer at maps-technology.com
Tue Aug 25 13:50:23 CEST 2009
On Tuesday 25 Aug 2009 12:43:27 Matthias Pospiech wrote:
> I am using the fftw (fft math libary) which can be used with many threads.
>
> I have different computers, which 1, 2 or 8 logical cpus.
> Now I would like to set the number of threads according to the number of
> cpus.
>
> Does Qt offer a possibility to get the number of cores?
> OS is Windows XP
http://doc.trolltech.com/4.6-snapshot/qthread.html#idealThreadCount
Sean
More information about the Qt-interest-old
mailing list