summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-01-25 18:10:35 -0700
committerXiaohong Bao <bao@lindenlab.com>2013-01-25 18:10:35 -0700
commit8144fa95701122f24c36b8ae2a51a5ce720614a6 (patch)
tree298c7eb5497a8768914a1ed8b6cc0041c40f2623
parent1e39461e7bab716232366f8454793e4a5216fb13 (diff)
for SH-3781: LLTrace issues
-rw-r--r--indra/newview/llscenemonitor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llscenemonitor.cpp b/indra/newview/llscenemonitor.cpp
index 9de6b52d12..4eb44bcc00 100644
--- a/indra/newview/llscenemonitor.cpp
+++ b/indra/newview/llscenemonitor.cpp
@@ -463,6 +463,7 @@ void LLSceneMonitor::calcDiffAggregate()
}
}
+static LLTrace::Measurement<> sFramePixelDiff("FramePixelDifference");
void LLSceneMonitor::fetchQueryResult()
{
if(!mHasNewQueryResult)
@@ -486,6 +487,7 @@ void LLSceneMonitor::fetchQueryResult()
if(mDiffResult > 0.01f)
{
mRecording->extend();
+ sFramePixelDiff.sample(mDiffResult);
}
//llinfos << count << " : " << mDiffResult << llendl;
}