diff options
author | Don Kjer <don@lindenlab.com> | 2010-12-13 16:15:25 -0800 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2010-12-13 16:15:25 -0800 |
commit | b71b9ee08e0b59274346a3b4da2c33ff84a5eb90 (patch) | |
tree | d22655a83062300289f60185322fc29e61781879 /indra/newview/llviewerregion.h | |
parent | 9a322d1b7a6ee5380f8724b33a20c56c9583f093 (diff) |
Added object update cache results to viewer stats recorder
Diffstat (limited to 'indra/newview/llviewerregion.h')
-rw-r--r-- | indra/newview/llviewerregion.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/llviewerregion.h b/indra/newview/llviewerregion.h index 7fac2020ee..5e17f3352d 100644 --- a/indra/newview/llviewerregion.h +++ b/indra/newview/llviewerregion.h @@ -281,8 +281,16 @@ public: CACHE_MISS_TYPE_NONE } eCacheMissType; + typedef enum + { + CACHE_UPDATE_DUPE = 0, + CACHE_UPDATE_CHANGED, + CACHE_UPDATE_ADDED, + CACHE_UPDATE_REPLACED + } eCacheUpdateResult; + // handle a full update message - void cacheFullUpdate(LLViewerObject* objectp, LLDataPackerBinaryBuffer &dp); + eCacheUpdateResult cacheFullUpdate(LLViewerObject* objectp, LLDataPackerBinaryBuffer &dp); LLDataPacker *getDP(U32 local_id, U32 crc, U8 &cache_miss_type); void requestCacheMisses(); void addCacheMissFull(const U32 local_id); |