[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Identifying CPU



On Wed, Sep 18, 2013 at 11:53:03AM -0300, Beco wrote:
> Hi Guys,
> 
> Please, can I get something like the 'Extended brand string' from
> cpuid to identify a cpu using C language?
> 
> Of course, not using system("cpuid") :) Something more "cross-platform".
> 

Is x86 enough for you? If so, http://libcpuid.sourceforge.net/

If you need to check across architectures, you probably need to
go all the way to autoconf for maximum flexibility.

-dsr-


Reply to: