diff options
author | Richard Linden <none@none> | 2013-07-24 19:36:43 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-07-24 19:36:43 -0700 |
commit | 1e8f9fd80d0ac4e0eab656ed8e8e32f91ab8b533 (patch) | |
tree | 5895140d21f9c79f13dfbb4b06fe1134af0143ca /indra/llcommon/lltraceaccumulators.h | |
parent | 3585394fc64a1c3fbac552944dad08129097b285 (diff) |
SH-4376 FIX: Interesting: in Statistics, replace the text "0" with "n/a" when
there are no samples during the time period.
added hasValue to SampleAccumulator so we don't print a value when we don't have
a single sample yet
added some disabled log output for scene load timing
Diffstat (limited to 'indra/llcommon/lltraceaccumulators.h')
-rw-r--r-- | indra/llcommon/lltraceaccumulators.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llcommon/lltraceaccumulators.h b/indra/llcommon/lltraceaccumulators.h index b1aa078f9a..9ea787188c 100644 --- a/indra/llcommon/lltraceaccumulators.h +++ b/indra/llcommon/lltraceaccumulators.h @@ -453,6 +453,7 @@ namespace LLTrace F64 getMean() const { return mMean; } F64 getStandardDeviation() const { return sqrtf(mSumOfSquares / mTotalSamplingTime); } U32 getSampleCount() const { return mNumSamples; } + bool hasValue() const { return mHasValue; } private: F64 mSum, |