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;
00014 bool m_bSSE2;
00015 bool m_b3DNOW;
00016 bool m_bMMX;
00017 char m_szName[48];
00018 bool m_bExt;
00019 bool m_bMMXEX;
00020 bool m_b3DNOWEX;
00021 char m_szVendor[13];
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_