LLMetricsImpl Class Reference

Collaboration diagram for LLMetricsImpl:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLMetricsImpl ()
 ~LLMetricsImpl ()
void recordEvent (const std::string &location, const std::string &mesg, bool success)
void printTotals (LLSD metadata)
void recordEventDetails (const std::string &location, const std::string &mesg, bool success, LLSD stats)

Private Attributes

LLFrameTimer mLastPrintTimer
LLSD mMetricsMap


Detailed Description

Definition at line 41 of file llmetrics.cpp.


Constructor & Destructor Documentation

LLMetricsImpl::LLMetricsImpl (  )  [inline]

Definition at line 44 of file llmetrics.cpp.

LLMetricsImpl::~LLMetricsImpl (  ) 

Definition at line 58 of file llmetrics.cpp.


Member Function Documentation

void LLMetricsImpl::recordEvent ( const std::string &  location,
const std::string &  mesg,
bool  success 
)

Definition at line 80 of file llmetrics.cpp.

References LLSD::asInteger(), and mMetricsMap.

Referenced by LLMetrics::recordEvent(), and recordEventDetails().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMetricsImpl::printTotals ( LLSD  metadata  ) 

Definition at line 100 of file llmetrics.cpp.

References LLSD::append(), LLSD::beginMap(), LLSD::emptyArray(), LLSD::emptyMap(), LLSD::endMap(), LLFrameTimer::getElapsedTimeAndResetF32(), llendl, llinfos, mLastPrintTimer, and mMetricsMap.

Referenced by LLMetrics::printTotals().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMetricsImpl::recordEventDetails ( const std::string &  location,
const std::string &  mesg,
bool  success,
LLSD  stats 
)

Definition at line 62 of file llmetrics.cpp.

References LLSD::emptyMap(), llendl, llinfos, and recordEvent().

Referenced by LLMetrics::recordEventDetails().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 54 of file llmetrics.cpp.

Referenced by printTotals().

Definition at line 55 of file llmetrics.cpp.

Referenced by printTotals(), and recordEvent().


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

Generated on Fri May 16 08:53:40 2008 for SecondLife by  doxygen 1.5.5