LLStatAccum::impl Class Reference

Collaboration diagram for LLStatAccum::impl:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 impl (bool useFrameTimer)
void reset (U64 when)
void sum (F64 value)
void sum (F64 value, U64 when)
F32 meanValue (TimeScale scale) const
U64 getCurrentUsecs () const

Public Attributes

BOOL mUseFrameTimer
BOOL mRunning
U64 mLastTime
Bucket mBuckets [IMPL_NUM_SCALES]
BOOL mLastSampleValid
F64 mLastSampleValue

Static Public Attributes

static const TimeScale IMPL_NUM_SCALES = (TimeScale)(SCALE_TWO_MINUTE + 1)
static U64 sScaleTimes [IMPL_NUM_SCALES]

Classes

struct  Bucket


Detailed Description

Definition at line 37 of file llstat.cpp.


Constructor & Destructor Documentation

LLStatAccum::impl::impl ( bool  useFrameTimer  ) 

Definition at line 91 of file llstat.cpp.

References FALSE, mLastSampleValid, mRunning, and mUseFrameTimer.


Member Function Documentation

void LLStatAccum::impl::reset ( U64  when  ) 

void LLStatAccum::impl::sum ( F64  value  ) 

Definition at line 111 of file llstat.cpp.

References getCurrentUsecs().

Referenced by LLStatRate::count(), LLStatMeasure::sample(), LLStatTime::start(), and LLStatTime::stop().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLStatAccum::impl::sum ( F64  value,
U64  when 
)

F32 LLStatAccum::impl::meanValue ( TimeScale  scale  )  const

U64 LLStatAccum::impl::getCurrentUsecs (  )  const

Definition at line 211 of file llstat.cpp.

References LLFrameTimer::getTotalTime(), mUseFrameTimer, and totalTime().

Referenced by LLStatMeasure::sample(), LLStatTime::stop(), and sum().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

const TimeScale LLStatAccum::impl::IMPL_NUM_SCALES = (TimeScale)(SCALE_TWO_MINUTE + 1) [static]

Definition at line 40 of file llstat.cpp.

Referenced by meanValue(), reset(), and sum().

Initial value:

{
        USEC_PER_SEC * 1,                               
        USEC_PER_SEC * 60,                              
        USEC_PER_SEC * 60 * 2                           






}

Definition at line 41 of file llstat.cpp.

Referenced by LLStatRate::count(), meanValue(), reset(), and sum().

Definition at line 43 of file llstat.cpp.

Referenced by getCurrentUsecs(), and impl().

Definition at line 45 of file llstat.cpp.

Referenced by impl(), meanValue(), reset(), and sum().

Definition at line 46 of file llstat.cpp.

Referenced by meanValue(), reset(), LLStatMeasure::sample(), LLStatTime::stop(), and sum().

Definition at line 57 of file llstat.cpp.

Referenced by meanValue(), reset(), and sum().

Definition at line 59 of file llstat.cpp.

Referenced by impl(), and LLStatMeasure::sample().

Definition at line 60 of file llstat.cpp.

Referenced by LLStatMeasure::sample().


The documentation for this class was generated from the following file:

Generated on Fri May 16 09:07:17 2008 for SecondLife by  doxygen 1.5.5