diff options
author | Richard Linden <none@none> | 2013-08-01 08:17:21 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-08-01 08:17:21 -0700 |
commit | f58eb60b1e0bbdf2148255c61100cbc20d1ba1b0 (patch) | |
tree | 70df47e3863ca1e1c499714e7bb0197e3acf753a /indra/newview/llviewerobjectlist.cpp | |
parent | e87ba587555d2a70e87dd0b204be2d586920d50f (diff) |
SH-4374 WIP Interesting: Statistics Object cache hit rate is always 100%
Diffstat (limited to 'indra/newview/llviewerobjectlist.cpp')
-rwxr-xr-x | indra/newview/llviewerobjectlist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp index 4072ab524e..e50e666421 100755 --- a/indra/newview/llviewerobjectlist.cpp +++ b/indra/newview/llviewerobjectlist.cpp @@ -355,7 +355,7 @@ LLViewerObject* LLViewerObjectList::processObjectUpdateFromCache(LLVOCacheEntry* } justCreated = true; mNumNewObjects++; - sample(sCacheHitRate, LLUnits::Percent::fromValue(100.f)); + sample(sCacheHitRate, LLUnits::Ratio::fromValue(1)); } if (objectp->isDead()) @@ -697,7 +697,7 @@ void LLViewerObjectList::processCachedObjectUpdate(LLMessageSystem *mesgsys, continue; // no data packer, skip this object } - sample(sCacheHitRate, 100.f); + //sample(sCacheHitRate, LLUnits::Ratio::fromValue(0)); } return; |