diff options
author | simon <simon@lindenlab.com> | 2023-05-04 16:52:35 +0100 |
---|---|---|
committer | simon <simon@lindenlab.com> | 2023-05-04 16:52:35 +0100 |
commit | e8c1a18105bddc29951d4c4b1700dc0af37c83c2 (patch) | |
tree | e9c50905806989dbca456a49c33875536ef5ad7e /indra/newview/llviewerregion.h | |
parent | 7ed52090a67882cd0bc904f1e0a9ce07cf6768e9 (diff) |
First work on sl-19676 - Stats on updates
Diffstat (limited to 'indra/newview/llviewerregion.h')
-rw-r--r-- | indra/newview/llviewerregion.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llviewerregion.h b/indra/newview/llviewerregion.h index 6548e8d372..81371b7f30 100644 --- a/indra/newview/llviewerregion.h +++ b/indra/newview/llviewerregion.h @@ -332,9 +332,9 @@ public: typedef enum { - CACHE_MISS_TYPE_FULL = 0, - CACHE_MISS_TYPE_CRC, - CACHE_MISS_TYPE_NONE + CACHE_MISS_TYPE_TOTAL = 0, // total cache miss - object not in cache + CACHE_MISS_TYPE_CRC, // object in cache, but CRC doesn't match + CACHE_MISS_TYPE_NONE // not a miss: cache hit } eCacheMissType; typedef enum @@ -551,10 +551,10 @@ private: class CacheMissItem { public: - CacheMissItem(U32 id, LLViewerRegion::eCacheMissType miss_type) : mID(id), mType(miss_type){} + CacheMissItem(U32 id, LLViewerRegion::eCacheMissType miss_type) : mID(id), mType(miss_type) {} - U32 mID; //local object id - LLViewerRegion::eCacheMissType mType; //cache miss type + U32 mID; //local object id + LLViewerRegion::eCacheMissType mType; // cache miss type typedef std::list<CacheMissItem> cache_miss_list_t; }; |