# 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::CSystemInfo Class Reference

<Class description>. More...

#include <system_info.h>

List of all members.

Static Public Methods

std::string getOS ()
std::string getProc ()
std::string getMem ()
bool hasCPUID ()
 test wether the cpuid instruction is supported (always false on non intel architectures). More...

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

bool hasSSE ()
 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 non 0x86 architecture ...). More...

bool isNT ()
uint32 availablePhysicalMemory ()
 returns all the physical memory available on this computer. More...

uint32 totalPhysicalMemory ()
 returns all the physical memory on this computer. More...


Detailed Description

<Class description>.

Author:
Vianney Lecroart , Nevrax France
Date:
2000

Definition at line 42 of file system_info.h.


Member Function Documentation

uint32 NLMISC::CSystemInfo::availablePhysicalMemory   [static]
 

returns all the physical memory available on this computer.

Definition at line 428 of file system_info.cpp.

string NLMISC::CSystemInfo::getMem   [static]
 

Definition at line 212 of file system_info.cpp.

References NLMISC::smprintf.

string NLMISC::CSystemInfo::getOS   [static]
 

Definition at line 46 of file system_info.cpp.

References NLMISC::smprintf.

string NLMISC::CSystemInfo::getProc   [static]
 

Definition at line 145 of file system_info.cpp.

References value.

bool NLMISC::CSystemInfo::hasCPUID   [static]
 

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

Definition at line 324 of file system_info.cpp.

bool NLMISC::CSystemInfo::hasMMX   [static]
 

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

Definition at line 360 of file system_info.cpp.

References NLMISC::HaveMMX.

Referenced by NL3D::CTextureFar::rebuildRectangle.

bool NLMISC::CSystemInfo::hasSSE   [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 non 0x86 architecture ...).

Definition at line 361 of file system_info.cpp.

References NLMISC::HaveSSE.

bool NLMISC::CSystemInfo::isNT   [static]
 

Definition at line 364 of file system_info.cpp.

uint32 NLMISC::CSystemInfo::totalPhysicalMemory   [static]
 

returns all the physical memory on this computer.

Definition at line 445 of file system_info.cpp.


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