• 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 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

References: 
 >How to find out if running on new dual core G5 (From: Martin Bestmann <email@hidden>)
 >Re: How to find out if running on new dual core G5 (From: Dave Zarzycki <email@hidden>)

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