diff options
Diffstat (limited to 'linden/indra/llcommon/llsys.h')
-rw-r--r-- | linden/indra/llcommon/llsys.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/linden/indra/llcommon/llsys.h b/linden/indra/llcommon/llsys.h index 2047d9a..416bd54 100644 --- a/linden/indra/llcommon/llsys.h +++ b/linden/indra/llcommon/llsys.h | |||
@@ -72,18 +72,21 @@ public: | |||
72 | 72 | ||
73 | std::string getCPUString() const; | 73 | std::string getCPUString() const; |
74 | 74 | ||
75 | BOOL hasSSE() const { return mHasSSE; } | 75 | bool hasAltivec() const; |
76 | BOOL hasSSE2() const { return mHasSSE2; } | 76 | bool hasSSE() const; |
77 | S32 getMhz() const { return mCPUMhz; } | 77 | bool hasSSE2() const; |
78 | S32 getMhz() const; | ||
78 | 79 | ||
79 | // Family is "AMD Duron" or "Intel Pentium Pro" | 80 | // Family is "AMD Duron" or "Intel Pentium Pro" |
80 | const std::string& getFamily() const { return mFamily; } | 81 | const std::string& getFamily() const { return mFamily; } |
81 | 82 | ||
82 | private: | 83 | private: |
83 | BOOL mHasSSE; | 84 | bool mHasSSE; |
84 | BOOL mHasSSE2; | 85 | bool mHasSSE2; |
86 | bool mHasAltivec; | ||
85 | S32 mCPUMhz; | 87 | S32 mCPUMhz; |
86 | std::string mFamily; | 88 | std::string mFamily; |
89 | std::string mCPUString; | ||
87 | }; | 90 | }; |
88 | 91 | ||
89 | class LLMemoryInfo | 92 | class LLMemoryInfo |