[fpc-devel] AMD & Intel CPUCount
Marco van de Voort
marcov at stack.nl
Fri Dec 28 13:26:11 CET 2012
In our previous episode, Mark Morgan Lloyd said:
> > cards and has been told to shut one down for maintenance. Solaris
> > definitely does this on SPARC, I don't know about its position on x86,
> > and I don't know about Linux's general position.
> Also somebody needs to check the situation with VMWare, Qemu etc., since
> they might be uncomfortable virtualising CPUID.
> I've just checked and taskset is supported on zLinux, so I'm fairly
> confident that the API that underlies it is universal on Linux 2.6+: I
> really do think that that's what should be used for this job.
Note that in applications this should never be used for more than the
default of a configurable option anyway.
The way new processors deal with this, can change at any time, and not
making this configurable would seriously limit the durability of the
More information about the fpc-devel