summaryrefslogtreecommitdiff
path: root/indra/llcommon/lltraceaccumulators.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-09-27 21:24:27 -0700
committerRichard Linden <none@none>2013-09-27 21:24:27 -0700
commitaf6b6db264aaa02e9e6a01d88233d129cf960fdf (patch)
treed1dab9acb49ea680331c7b4c35ff0ff588fb8ecf /indra/llcommon/lltraceaccumulators.cpp
parent35b591a47d71212e3b2c1b7eaca797d6927bde42 (diff)
fixed lltrace memory tracking
image memory utilization now always non-negative
Diffstat (limited to 'indra/llcommon/lltraceaccumulators.cpp')
-rw-r--r--indra/llcommon/lltraceaccumulators.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/lltraceaccumulators.cpp b/indra/llcommon/lltraceaccumulators.cpp
index 58d0b5b227..a7bd04415e 100644
--- a/indra/llcommon/lltraceaccumulators.cpp
+++ b/indra/llcommon/lltraceaccumulators.cpp
@@ -239,7 +239,7 @@ void EventAccumulator::addSamples( const EventAccumulator& other, EBufferAppendT
void EventAccumulator::reset( const EventAccumulator* other )
{
mNumSamples = 0;
- mSum = NaN;
+ mSum = 0;
mMin = NaN;
mMax = NaN;
mMean = NaN;