sysconf(_SC_NPROCESSORS_CONF) in EM64T

sysconf(_SC_NPROCESSORS_CONF) in EM64T

Post by pbaroni » Tue, 29 Aug 2006 22:27:07


Hi all,
I was trying to get the number of Logical processors in my
Linux system using sysconf(_SC_NPROCESSORS_CONF) function.
Though it works fine for 32 bit architecture (When HT is enabled the
number of logical processors are double the physiscal processors), it
does not have any effect of enabling HT in 64 bit architecture.

Please help ...

regards,
Prashant
 
 
 

sysconf(_SC_NPROCESSORS_CONF) in EM64T

Post by Frank Cusa » Thu, 31 Aug 2006 05:48:41


What's that have to do with Sun? Try a linux newsgroup?

-frank