LLStatAccum Class Reference

#include <llstat.h>

Inheritance diagram for LLStatAccum:

Inheritance graph
[legend]
Collaboration diagram for LLStatAccum:

Collaboration graph
[legend]
List of all members.

Public Types

 SCALE_SECOND
 SCALE_MINUTE
 SCALE_TWO_MINUTE
 SCALE_HOUR
 SCALE_DAY
 SCALE_WEEK
 NUM_SCALES
enum  TimeScale {
  SCALE_SECOND, SCALE_MINUTE, SCALE_TWO_MINUTE, SCALE_HOUR,
  SCALE_DAY, SCALE_WEEK, NUM_SCALES
}

Public Member Functions

F32 meanValue (TimeScale scale) const
F32 meanValueOverLastSecond () const
F32 meanValueOverLastMinute () const

Protected Member Functions

 LLStatAccum (bool use_frame_timer)
virtual ~LLStatAccum ()

Protected Attributes

implm

Classes

class  impl

Detailed Description

Definition at line 47 of file llstat.h.


Member Enumeration Documentation

enum LLStatAccum::TimeScale

Enumerator:
SCALE_SECOND 
SCALE_MINUTE 
SCALE_TWO_MINUTE 
SCALE_HOUR 
SCALE_DAY 
SCALE_WEEK 
NUM_SCALES 

Definition at line 54 of file llstat.h.


Constructor & Destructor Documentation

LLStatAccum::LLStatAccum ( bool  use_frame_timer  )  [protected]

Definition at line 227 of file llstat.cpp.

LLStatAccum::~LLStatAccum (  )  [protected, virtual]

Definition at line 232 of file llstat.cpp.

References m.


Member Function Documentation

F32 LLStatAccum::meanValue ( TimeScale  scale  )  const

Definition at line 237 of file llstat.cpp.

References m, and LLStatAccum::impl::meanValue().

Referenced by meanValueOverLastMinute(), and meanValueOverLastSecond().

F32 LLStatAccum::meanValueOverLastMinute (  )  const [inline]

Definition at line 69 of file llstat.h.

References meanValue(), and SCALE_MINUTE.

F32 LLStatAccum::meanValueOverLastSecond (  )  const [inline]

Definition at line 68 of file llstat.h.

References meanValue(), and SCALE_SECOND.


Member Data Documentation

impl& LLStatAccum::m [protected]

Definition at line 72 of file llstat.h.

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


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:48 2010 for Second Life Viewer by  doxygen 1.4.7