diff options
author | Richard Linden <none@none> | 2012-12-03 19:54:53 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2012-12-03 19:54:53 -0800 |
commit | 407e5013f3845208e0a60e26e8f0a7fad997df5d (patch) | |
tree | 4b181e4bf950b21961019d4c9c4280065fe66cac /indra/llcommon/lltracerecording.h | |
parent | 13e4edf1cd664864afa585bc83bbe99d4f743326 (diff) |
SH-3406 WIP convert fast timers to lltrace system
converted fast timer view over to new lltrace mechanisms
Diffstat (limited to 'indra/llcommon/lltracerecording.h')
-rw-r--r-- | indra/llcommon/lltracerecording.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/llcommon/lltracerecording.h b/indra/llcommon/lltracerecording.h index 0adea2663b..efed3f662e 100644 --- a/indra/llcommon/lltracerecording.h +++ b/indra/llcommon/lltracerecording.h @@ -119,8 +119,10 @@ namespace LLTrace void update(); // Timer accessors - LLUnit<LLUnits::Seconds, F64> getSum(const TraceType<TimerAccumulator>& stat) const; - LLUnit<LLUnits::Seconds, F64> getPerSec(const TraceType<TimerAccumulator>& stat) const; + LLUnit<LLUnits::Seconds, F64> getSum(const TraceType<TimeBlockAccumulator>& stat) const; + U32 getSum(const TraceType<TimeBlockAccumulator::CallCountAspect>& stat) const; + LLUnit<LLUnits::Seconds, F64> getPerSec(const TraceType<TimeBlockAccumulator>& stat) const; + F32 getPerSec(const TraceType<TimeBlockAccumulator::CallCountAspect>& stat) const; // Count accessors F64 getSum(const TraceType<CountAccumulator<F64> >& stat) const; @@ -221,7 +223,7 @@ namespace LLTrace LLCopyOnWritePointer<AccumulatorBuffer<MeasurementAccumulator<F64> > > mMeasurementsFloat; LLCopyOnWritePointer<AccumulatorBuffer<CountAccumulator<S64> > > mCounts; LLCopyOnWritePointer<AccumulatorBuffer<MeasurementAccumulator<S64> > > mMeasurements; - LLCopyOnWritePointer<AccumulatorBuffer<TimerAccumulator> > mStackTimers; + LLCopyOnWritePointer<AccumulatorBuffer<TimeBlockAccumulator> > mStackTimers; LLTimer mSamplingTimer; F64 mElapsedSeconds; |