00001 // $Id: CPU.h 21 2010-09-05 04:18:17Z cschwarz1 $ 00002 00003 #ifndef BASE_CPU_H 00004 #define BASE_CPU_H 00005 00006 #include "portable.h" 00007 00008 namespace base { 00015 class PPBASE_EXPORT CPU { 00016 public: 00024 static int has3DNow(); 00025 00033 static int hasCPUID(); 00034 00042 static int hasMMX(); 00043 00051 static int hasSSE(); 00052 00060 static int hasSSE2(); 00061 }; 00062 } 00063 00064 #endif