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::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().

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().

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().


Member Data Documentation

LLFrameTimer LLMetricsImpl::mLastPrintTimer [private]

Definition at line 54 of file llmetrics.cpp.

Referenced by printTotals().

LLSD LLMetricsImpl::mMetricsMap [private]

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 Thu Jul 1 06:11:31 2010 for Second Life Viewer by  doxygen 1.4.7