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 |
Definition at line 41 of file llmetrics.cpp.
LLMetricsImpl::LLMetricsImpl | ( | ) | [inline] |
Definition at line 44 of file llmetrics.cpp.
LLMetricsImpl::~LLMetricsImpl | ( | ) |
Definition at line 58 of file llmetrics.cpp.
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().
LLFrameTimer LLMetricsImpl::mLastPrintTimer [private] |
LLSD LLMetricsImpl::mMetricsMap [private] |