[ptx] GUI layout change + Multithreaded remapping added to CVS

Ippei UKAI ippei_ukai at mac.com
Sun Jan 8 20:14:05 GMT 2006


On Mac:

#include <CoreServices/CoreServices.h>
int numCPU = MPProcessors();

will do the job.
But wxWidgets has a multi-platform wrapper:

int wxThread::GetCPUCount()

Thanks,
Ippei


On 8 Jan 2006, at 15:12, Pablo d'Angelo wrote:

> Does anyone know how to determine the number of CPUs and cores per  
> CPU on
> windows, linux and mac?


-- 
  ->> 鵜飼 一平  (UKAI Ippei) ->>>>>>>>>>>>>>>>>>>>>>>>>
   My general MSN, AIM, and E-Mail: ippei_ukai at mac.com
   Homepage:  http://homepage.mac.com/ippei_ukai/




More information about the ptx mailing list