CPUInfo.h

00001 #ifndef _CPUINFO_H_
00002 #define _CPUINFO_H_
00003 
00004 #include "defines.h"
00005 
00006 namespace zak {
00007 
00012 struct ZAKENGINE_API STCPUInfo {
00013         bool m_bSSE;                    // Streaming SIMD Extensions
00014         bool m_bSSE2;                   // Streaming SIMD Extensions 2
00015         bool m_b3DNOW;                  // 3DNow! (vendor independent)
00016         bool m_bMMX;                    // MMX Support
00017         char m_szName[48];              // CPU Name
00018         bool m_bExt;                    // Extended features available
00019         bool m_bMMXEX;                  // MMX Extended (AMD specific extensions)
00020         bool m_b3DNOWEX;                // 3DNow! Extended (AMD specific extensions)
00021         char m_szVendor[13];    // Vendor Name
00022 };
00023 
00028 class ZAKENGINE_API CPUInfo 
00029 {
00030 public:
00036         STCPUInfo       GetCPUInfo();
00037 
00042         bool            OSSupportSSE();
00043 
00047         CPUInfo();
00048 
00052         ~CPUInfo();
00053 protected:
00054         
00055 private:
00056 
00057 };
00058 
00059 }
00060 
00061 #endif // _CPUINFO_H_

Generado el Tue May 29 14:46:14 2007 para Zak Engine v1.1.0 por  doxygen 1.5.1-p1