summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerstatsrecorder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerstatsrecorder.cpp')
-rw-r--r--indra/newview/llviewerstatsrecorder.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llviewerstatsrecorder.cpp b/indra/newview/llviewerstatsrecorder.cpp
index a8d1565742..e9d21b4848 100644
--- a/indra/newview/llviewerstatsrecorder.cpp
+++ b/indra/newview/llviewerstatsrecorder.cpp
@@ -26,6 +26,9 @@
#include "llviewerprecompiledheaders.h"
#include "llviewerstatsrecorder.h"
+
+#if LL_RECORD_VIEWER_STATS
+
#include "llfile.h"
#include "llviewerregion.h"
#include "llviewerobject.h"
@@ -38,7 +41,6 @@
static const std::string STATS_FILE_NAME("/tmp/viewerstats.csv");
#endif
-
LLViewerStatsRecorder* LLViewerStatsRecorder::sInstance = NULL;
LLViewerStatsRecorder::LLViewerStatsRecorder() :
mObjectCacheFile(NULL),
@@ -250,4 +252,7 @@ F32 LLViewerStatsRecorder::getTimeSinceStart()
return (F32) ((LLTimer::getTotalTime() - mStartTime) / 1000.0);
}
+#endif
+
+