diff options
author | Richard Linden <none@none> | 2013-07-01 17:04:01 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-07-01 17:04:01 -0700 |
commit | 04bdc8ba83c297945dd60489c241b88adf892ff4 (patch) | |
tree | f19e8a7c87203242abd39450dd4cfbea6857ee55 /indra/newview/tests | |
parent | 2fc422f39ddaca25c69e8cf2092a9d66840379f3 (diff) |
SH-4294 FIX Interesting: Statistics Texture cache hit rate is always 0%
also, removed LLTrace::init and cleanup
removed derived class implementation of memory stat for LLMemTrackable
is automatic now
Diffstat (limited to 'indra/newview/tests')
-rwxr-xr-x | indra/newview/tests/llviewerassetstats_test.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/tests/llviewerassetstats_test.cpp b/indra/newview/tests/llviewerassetstats_test.cpp index b9712e5e9c..bd42b59df2 100755 --- a/indra/newview/tests/llviewerassetstats_test.cpp +++ b/indra/newview/tests/llviewerassetstats_test.cpp @@ -35,6 +35,7 @@ #include "lluuid.h" #include "llsdutil.h" #include "llregionhandle.h" +#include "lltracethreadrecorder.h" #include "../llvoavatar.h" namespace LLStatViewer @@ -231,14 +232,15 @@ namespace tut { tst_viewerassetstats_index() { - LLTrace::init(); + LLTrace::set_master_thread_recorder(&mThreadRecorder); } ~tst_viewerassetstats_index() { - LLTrace::cleanup(); + LLTrace::set_master_thread_recorder(NULL); } + LLTrace::ThreadRecorder mThreadRecorder; }; typedef test_group<tst_viewerassetstats_index> tst_viewerassetstats_index_t; typedef tst_viewerassetstats_index_t::object tst_viewerassetstats_index_object_t; |