summaryrefslogtreecommitdiff
path: root/indra/llcommon/lltraceaccumulators.h
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-09-27 11:18:39 -0700
committerRichard Linden <none@none>2013-09-27 11:18:39 -0700
commite0a443f5a6b76fd1ab5ffaa8e7a1941d47c80f4f (patch)
treeba8ed1f921f6ddb8c16b37be082d48fd700211de /indra/llcommon/lltraceaccumulators.h
parent1733be96680e7ceb1911acc6af7fa3e12282fad7 (diff)
BUILDFIX: fix for mac builds
also, fixed alignment of tick labels on stat bars
Diffstat (limited to 'indra/llcommon/lltraceaccumulators.h')
-rw-r--r--indra/llcommon/lltraceaccumulators.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/indra/llcommon/lltraceaccumulators.h b/indra/llcommon/lltraceaccumulators.h
index 4fe84455a6..2dcfdf48ad 100644
--- a/indra/llcommon/lltraceaccumulators.h
+++ b/indra/llcommon/lltraceaccumulators.h
@@ -52,7 +52,7 @@ namespace LLTrace
class AccumulatorBuffer : public LLRefCount
{
typedef AccumulatorBuffer<ACCUMULATOR> self_t;
- static const U32 ACCUMULATOR_BUFFER_SIZE_INCREMENT = 16;
+ static const S32 ACCUMULATOR_BUFFER_SIZE_INCREMENT = 16;
private:
struct StaticAllocationMarker { };
@@ -267,7 +267,7 @@ namespace LLTrace
F64 getMean() const { return mMean; }
F64 getStandardDeviation() const { return sqrtf(mSumOfSquares / mNumSamples); }
F64 getSumOfSquares() const { return mSumOfSquares; }
- U32 getSampleCount() const { return mNumSamples; }
+ S32 getSampleCount() const { return mNumSamples; }
bool hasValue() const { return mNumSamples > 0; }
private:
@@ -279,7 +279,7 @@ namespace LLTrace
F64 mMean,
mSumOfSquares;
- U32 mNumSamples;
+ S32 mNumSamples;
};
@@ -352,7 +352,7 @@ namespace LLTrace
F64 getStandardDeviation() const { return sqrtf(mSumOfSquares / mTotalSamplingTime); }
F64 getSumOfSquares() const { return mSumOfSquares; }
F64SecondsImplicit getSamplingTime() { return mTotalSamplingTime; }
- U32 getSampleCount() const { return mNumSamples; }
+ S32 getSampleCount() const { return mNumSamples; }
bool hasValue() const { return mHasValue; }
private:
@@ -370,7 +370,7 @@ namespace LLTrace
mLastSampleTimeStamp,
mTotalSamplingTime;
- U32 mNumSamples;
+ S32 mNumSamples;
};
class CountAccumulator
@@ -405,12 +405,12 @@ namespace LLTrace
F64 getSum() const { return mSum; }
- U32 getSampleCount() const { return mNumSamples; }
+ S32 getSampleCount() const { return mNumSamples; }
private:
F64 mSum;
- U32 mNumSamples;
+ S32 mNumSamples;
};
class TimeBlockAccumulator
@@ -422,7 +422,7 @@ namespace LLTrace
// fake classes that allows us to view different facets of underlying statistic
struct CallCountFacet
{
- typedef U32 value_t;
+ typedef S32 value_t;
};
struct SelfTimeFacet
@@ -451,7 +451,7 @@ namespace LLTrace
//
U64 mTotalTimeCounter,
mSelfTimeCounter;
- U32 mCalls;
+ S32 mCalls;
class TimeBlock* mParent; // last acknowledged parent of this time block
class TimeBlock* mLastCaller; // used to bootstrap tree construction
U16 mActiveCount; // number of timers with this ID active on stack