Re: Interface to shut down cores and/or processors?
Re: Interface to shut down cores and/or processors?
- Subject: Re: Interface to shut down cores and/or processors?
- From: "Sean McBride" <email@hidden>
- Date: Thu, 6 Mar 2008 14:06:59 -0500
- Organization: Rogue Research
On 3/6/08 10:12 AM, Jay Reynolds Freeman said:
>I have a shiny new Mac Pro and am chasing some bugs in parallel
>applications that may have to do with things like cache flushing,
>memory barriers and OSAtomic<whatever>. I recall from somewhere, I
>think, that there is an mechanism somewhere, selectively to disable
>processor cores (or perhaps entire processors, in the case of the Mac
>Pro). Such a mechanism would be very useful for my tests.
>
>If there is a Cocoa interface to this mechanism, perhaps someone could
>tell me what it is?
Too low level for Cocoa I think. Assuming you're on 10.5, take a look at:
/Developer/Extras/PreferencePanes/Processor.prefPane
It can turn off CPUs.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden