summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerregion.h
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2010-12-13 12:33:19 -0800
committerDon Kjer <don@lindenlab.com>2010-12-13 12:33:19 -0800
commitf4884faf3a020a718c611f34aa534e80d8a8b666 (patch)
tree63767dfd9db564b03d7e00c5d031139b4cbabf74 /indra/newview/llviewerregion.h
parent03b68dad4bb6da4fa6ca7dcd05af91cfc96b4e31 (diff)
Expanded viewer stats recorder to include cache miss type, cache miss requests, and update failures
Diffstat (limited to 'indra/newview/llviewerregion.h')
-rw-r--r--indra/newview/llviewerregion.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llviewerregion.h b/indra/newview/llviewerregion.h
index 8b71998f60..7fac2020ee 100644
--- a/indra/newview/llviewerregion.h
+++ b/indra/newview/llviewerregion.h
@@ -274,9 +274,16 @@ public:
void getInfo(LLSD& info);
+ typedef enum
+ {
+ CACHE_MISS_TYPE_FULL = 0,
+ CACHE_MISS_TYPE_CRC,
+ CACHE_MISS_TYPE_NONE
+ } eCacheMissType;
+
// handle a full update message
void cacheFullUpdate(LLViewerObject* objectp, LLDataPackerBinaryBuffer &dp);
- LLDataPacker *getDP(U32 local_id, U32 crc);
+ LLDataPacker *getDP(U32 local_id, U32 crc, U8 &cache_miss_type);
void requestCacheMisses();
void addCacheMissFull(const U32 local_id);