diff options
author | Merov Linden <merov@lindenlab.com> | 2011-01-13 11:30:56 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2011-01-13 11:30:56 -0800 |
commit | ce55885aa3a95b0e83990d46ff8bd3214ece4faa (patch) | |
tree | dec8aca255159dc6af17f25d87e03a1344e2c666 /indra/newview/llappviewer.cpp | |
parent | a4e775e54cd1ae3f5be80e73eef6b629384a00c5 (diff) | |
parent | 756a4e26da6cec82d48a71d05b1f43623b56313d (diff) |
Pull sync to viewer-development
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r-- | indra/newview/llappviewer.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 729f83a2b1..80c752da9a 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -44,6 +44,7 @@ #include "llagentwearables.h" #include "llwindow.h" #include "llviewerstats.h" +#include "llviewerstatsrecorder.h" #include "llmd5.h" #include "llpumpio.h" #include "llmimetypes.h" @@ -667,6 +668,10 @@ bool LLAppViewer::init() mAlloc.setProfilingEnabled(gSavedSettings.getBOOL("MemProfiling")); +#if LL_RECORD_VIEWER_STATS + LLViewerStatsRecorder::initClass(); +#endif + // *NOTE:Mani - LLCurl::initClass is not thread safe. // Called before threads are created. LLCurl::initClass(); @@ -990,6 +995,8 @@ bool LLAppViewer::init() LLAgentLanguage::init(); + + return true; } @@ -1710,6 +1717,10 @@ bool LLAppViewer::cleanup() } LLMetricPerformanceTesterBasic::cleanClass() ; +#if LL_RECORD_VIEWER_STATS + LLViewerStatsRecorder::cleanupClass(); +#endif + llinfos << "Cleaning up Media and Textures" << llendflush; //Note: |