Re: How to find out if running on new dual core G5
Re: How to find out if running on new dual core G5
- Subject: Re: How to find out if running on new dual core G5
- From: Dave Yost <email@hidden>
- Date: Mon, 21 Nov 2005 07:59:13 -0800
At 10:11 AM -0800 2005-11-18, Dave Zarzycki wrote:
>The following sysctl variables will probably be useful to you then:
>
>* hw.ncpu - The maximum number of processors that could be available this boot.
>* Use this value for sizing of static per processor arrays; i.e. processor load statistics.
>*
>* hw.activecpu - The number of processors currently available for executing threads.
>* Use this number to determine the number threads to create in SMP aware applications.
>* This number can change when power management modes are changed.
>*
>* hw.physicalcpu - The number of physical processors available in the current power management mode.
>* hw.physicalcpu_max - The maximum number of physical processors that could be available this boot
>*
>* hw.logicalcpu - The number of logical processors available in the current power management mode.
>* hw.logicalcpu_max - The maximum number of logical processors that could be available this boot
The above has variables not shown in the man page and has descriptions that should be shown on the man page.
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden