Re: getting hardware information programatically
Re: getting hardware information programatically
- Subject: Re: getting hardware information programatically
- From: Roberto Cruz <email@hidden>
- Date: Tue, 18 Apr 2006 15:40:22 +0200
On 18/04/2006, at 14:35, Uli Kusterer wrote:
Am 18.04.2006 um 13:34 schrieb Roberto Cruz:
On 18/04/2006, at 13:15, Chris B. Vetter wrote:
On 4/18/06, Karim Morsy <email@hidden> wrote:
Gestalt ist exactly what I was looking for... thanks a lot for all
the helpful posts!
The downside of using Gestalt() would be incompatibility to other
systems, in case you ever intend of porting your code to, say
Linux or
*BSD, under GNUstep. sysctl() would be available on all of them.
Another downside is that don't give enough information about Intel
Mac
I just updated the CocoaDev page to be a little better at that.
It's still not too detailed, but I don't really know how to do
better until we've seen an Intel Mac that doesn't have a Core Duo
or Core Solo... Feel free to add any info you know of.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
Uli,
I'll try to make my best, but most of the information that I have did
not apply to COCOA framework, is generic.
The information about the processor can be get from the hw.
information that it's read from the MSR tables.
As far as I know, several pieces of software inside OS X for intel
are not glued to real hardware information, other simple if intel is
detected return null values. Currently there is not fully control
from any framework of the intel hardware.
Regards.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden