summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturefetch.h
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-03-15 11:57:29 -0700
committerRichard Linden <none@none>2012-03-15 11:57:29 -0700
commit3672956f0da4020335fc8c3066f1099c1ceaa00d (patch)
tree34ebc3763c20d7a16d69a1798ae9d58d5da3853a /indra/newview/lltexturefetch.h
parent8efce456afa2f63038594752f491b521e168fbdf (diff)
added stats tracking for texture/object cache hit rates and texture cache read latency
Diffstat (limited to 'indra/newview/lltexturefetch.h')
-rw-r--r--indra/newview/lltexturefetch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/lltexturefetch.h b/indra/newview/lltexturefetch.h
index 35df7d816f..710dd67e99 100644
--- a/indra/newview/lltexturefetch.h
+++ b/indra/newview/lltexturefetch.h
@@ -164,6 +164,9 @@ private:
LLMutex mQueueMutex; //to protect mRequestMap and mCommands only
LLMutex mNetworkQueueMutex; //to protect mNetworkQueue, mHTTPTextureQueue and mCancelQueue.
+ static LLStat sCacheHitRate;
+ static LLStat sCacheReadLatency;
+
LLTextureCache* mTextureCache;
LLImageDecodeThread* mImageDecodeThread;
LLCurlRequest* mCurlGetRequest;