• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to find out if running on new dual core G5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 Zarzycki <email@hidden>
  • Date: Fri, 18 Nov 2005 10:11:01 -0800

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



davez

On Nov 18, 2005, at 10:03 AM, Martin Bestmann wrote:

Hi,

I like to know how I can find out programmatically if I'm running on a dual core G5.

Thanks,

Martin
_______________________________________________
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

_______________________________________________ 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
  • Follow-Ups:
    • Re: How to find out if running on new dual core G5
      • From: Dave Yost <email@hidden>
References: 
 >How to find out if running on new dual core G5 (From: Martin Bestmann <email@hidden>)

  • Prev by Date: Re: How to find out if running on new dual core G5
  • Next by Date: Re: How to find out if running on new dual core G5
  • Previous by thread: Re: How to find out if running on new dual core G5
  • Next by thread: Re: How to find out if running on new dual core G5
  • Index(es):
    • Date
    • Thread