[fpc-pascal] detect CPU cores
skalogryz.lists at gmail.com
Fri Sep 12 16:28:55 CEST 2014
If you're talking bout x88_64, i386 platforms, you should be able to do it
using CPUID instruction
On Fri, Sep 12, 2014 at 10:07 AM, Xiangrong Fang <xrfang at gmail.com> wrote:
> 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.
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal