# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLMISC::CCpuInfo Struct Reference

This helps to know wether cpu has some features such as mmx, sse ... More...

#include <cpu_info.h>

List of all members.

Static Public Methods

bool hasCPUID (void)
 test wether the cpuid instruction is supported (always false on non intel architectures). More...

bool hasMMX (void)
 helps to know wether the processor features mmx instruction set This is initialized at started, so its fast (always false on not 0x86 architecture ...). More...

bool hasSSE (void)
 helps to know wether the processor has streaming SIMD instructions (the OS must supports it) This is initialized at started, so its fast (always false on not 0x86 architecture ...). More...


Detailed Description

This helps to know wether cpu has some features such as mmx, sse ...

Author:
Nicolas Vizerie , Nevrax France
Date:
2001

Definition at line 41 of file cpu_info.h.


Member Function Documentation

bool NLMISC::CCpuInfo::hasCPUID void    [static]
 

test wether the cpuid instruction is supported (always false on non intel architectures).

Definition at line 108 of file cpu_info.cpp.

References uint32.

bool NLMISC::CCpuInfo::hasMMX void    [static]
 

helps to know wether the processor features mmx instruction set This is initialized at started, so its fast (always false on not 0x86 architecture ...).

Definition at line 144 of file cpu_info.cpp.

References NLMISC::HasMMX.

bool NLMISC::CCpuInfo::hasSSE void    [static]
 

helps to know wether the processor has streaming SIMD instructions (the OS must supports it) This is initialized at started, so its fast (always false on not 0x86 architecture ...).

Definition at line 145 of file cpu_info.cpp.

References NLMISC::HasSSE.


The documentation for this struct was generated from the following files: