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/llcommon/llfasttimer.cpp | |
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/llcommon/llfasttimer.cpp')
-rwxr-xr-x | indra/llcommon/llfasttimer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llfasttimer.cpp b/indra/llcommon/llfasttimer.cpp index 7a7f1c79c1..a72f16d385 100755 --- a/indra/llcommon/llfasttimer.cpp +++ b/indra/llcommon/llfasttimer.cpp @@ -250,7 +250,7 @@ void TimeBlock::updateTimes() { // walk up stack of active timers and accumulate current time while leaving timing structures active BlockTimerStackRecord* stack_record = LLThreadLocalSingletonPointer<BlockTimerStackRecord>::getInstance(); - if (stack_record) return; + if (!stack_record) return; U64 cur_time = getCPUClockCount64(); BlockTimer* cur_timer = stack_record->mActiveTimer; |