summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorpalange <palange@lindenlab.com>2010-02-01 17:00:21 -0800
committerpalange <palange@lindenlab.com>2010-02-01 17:00:21 -0800
commit4665ef7b9c997f4ac550a910b536021b7a87d811 (patch)
tree6a9e71702f432c42fb5812bbde8e6fcd2ad084cd /indra
parent6abecf1228010d83c2df8d14057950fb51e37320 (diff)
Added cpu frequency. puching to move to windows. again.
Diffstat (limited to 'indra')
-rw-r--r--indra/llcommon/llprocessor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/llprocessor.cpp b/indra/llcommon/llprocessor.cpp
index 09a7004913..6407c82138 100644
--- a/indra/llcommon/llprocessor.cpp
+++ b/indra/llcommon/llprocessor.cpp
@@ -550,6 +550,8 @@ public:
LLProcessorInfoDarwinImpl()
{
getCPUIDInfo();
+ uint64_t frequency = getSysctlInt64("hw.cpufrequency");
+ setInfo(eFrequency, (F64)frequency);
}
virtual ~LLProcessorInfoDarwinImpl() {}