sysconf(_SC_NPROCESSORS_CONF) in EM64T

  • Follow


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

0
Reply prashant.baronia (4) 8/28/2006 1:27:07 PM

On 28 Aug 2006 06:27:07 -0700 "pbaronia" <prashant.baronia@gmail.com> wrote:
> 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.

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

-frank
0
Reply Frank 8/29/2006 8:48:41 PM


1 Replies
181 Views

(page loaded in 0.562 seconds)

Similiar Articles:

7/30/2012 2:44:14 AM


Reply: