[fpc-pascal] detect CPU cores

Xiangrong Fang xrfang at gmail.com
Fri Sep 12 16:07:27 CEST 2014


Hi All,

Is there a platform independent (specifically Windows and Linux) way to
detect cores and hyper-threads of the CPU? I am writing a calculation
intensive app and would like to fully utilize SMP capability of the CPU.

Thanks!
Xiangrong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140912/ceb78dd3/attachment.html>


More information about the fpc-pascal mailing list