summaryrefslogtreecommitdiff
path: root/indra/llcommon/llprocessor.h
diff options
context:
space:
mode:
authorMark Palange (Mani) <palange@lindenlab.com>2010-05-03 17:14:46 -0700
committerMark Palange (Mani) <palange@lindenlab.com>2010-05-03 17:14:46 -0700
commitab6d50440714b18d8d0811c9f2cc652c971e9b9d (patch)
tree80b1424d2cbb89bb207aaae44a9f04a83f06b77f /indra/llcommon/llprocessor.h
parent8daf25b65c30f58889ed5923d43bf785cb758026 (diff)
parent1aef4820a5c95dec0cec7ad06bf1eb54f9c2ae32 (diff)
Automated merge with ssh://hg.lindenlab.com/q/viewer-trunk
Diffstat (limited to 'indra/llcommon/llprocessor.h')
-rw-r--r--indra/llcommon/llprocessor.h32
1 files changed, 26 insertions, 6 deletions
diff --git a/indra/llcommon/llprocessor.h b/indra/llcommon/llprocessor.h
index 746d007a7f..e33af77143 100644
--- a/indra/llcommon/llprocessor.h
+++ b/indra/llcommon/llprocessor.h
@@ -30,13 +30,32 @@
* $/LicenseInfo$
*/
-// Author: Benjamin Jurke
-// File history: 27.02.2002 File created.
-///////////////////////////////////////////
-
#ifndef LLPROCESSOR_H
#define LLPROCESSOR_H
+class LLProcessorInfoImpl;
+
+class LLProcessorInfo
+{
+public:
+ LLProcessorInfo();
+ ~LLProcessorInfo();
+
+ F64 getCPUFrequency() const;
+ bool hasSSE() const;
+ bool hasSSE2() const;
+ bool hasAltivec() const;
+ std::string getCPUFamilyName() const;
+ std::string getCPUBrandName() const;
+ std::string getCPUFeatureDescription() const;
+private:
+ LLProcessorInfoImpl* mImpl;
+};
+
+# if 0
+// Author: Benjamin Jurke
+// File history: 27.02.2002 File created.
+///////////////////////////////////////////
// Options:
///////////
@@ -166,7 +185,7 @@ public:
// Private vars:
////////////////
-public:
+private:
F64 uqwFrequency;
char strCPUName[128]; /* Flawfinder: ignore */
ProcessorInfo CPUInfo;
@@ -192,5 +211,6 @@ public:
bool WriteInfoTextFile(const std::string& strFilename);
};
+#endif // 0
-#endif
+#endif // LLPROCESSOR_H