diff options
author | Richard Linden <none@none> | 2013-08-09 16:14:19 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-08-09 16:14:19 -0700 |
commit | 8d3daa141e9ea14f533559843d77ab5c0f715421 (patch) | |
tree | 6cada1f722a2965e12ff2a565d1cc1af2768b416 /indra/newview/llviewerregion.cpp | |
parent | f7d90f8bb9885dc05cdaf1a6ececd4261e8dda92 (diff) |
SH-4374 FIX Interesting: Statistics Object cache hit rate is always 100%
moved object cache sampling code so that it actually gets executed
default values for stats are NaN instead of 0 in many cases
Diffstat (limited to 'indra/newview/llviewerregion.cpp')
-rwxr-xr-x | indra/newview/llviewerregion.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp index e28ea6f988..34a9767fdf 100755 --- a/indra/newview/llviewerregion.cpp +++ b/indra/newview/llviewerregion.cpp @@ -1985,6 +1985,7 @@ LLViewerRegion::eCacheUpdateResult LLViewerRegion::cacheFullUpdate(LLDataPackerB // Create new entry and add to map result = CACHE_UPDATE_ADDED; entry = new LLVOCacheEntry(local_id, crc, dp); + record(LLStatViewer::OBJECT_CACHE_HIT_RATE, LLUnits::Ratio::fromValue(0)); mImpl->mCacheMap[local_id] = entry; |