summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-08-11 17:43:36 -0500
committerDave Parks <davep@lindenlab.com>2010-08-11 17:43:36 -0500
commit91c1545f906bf3bfca6b1311bfedb1af1b3353f1 (patch)
treefd067d9492c59c6ac9c5db1d1b4913394a5d8575
parentc33bec017744020104832439ba2a00716348a78d (diff)
Added mesh bytes received to viewer stats.
-rw-r--r--indra/newview/llviewerstats.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewerstats.cpp b/indra/newview/llviewerstats.cpp
index 930c608e35..9280b74df0 100644
--- a/indra/newview/llviewerstats.cpp
+++ b/indra/newview/llviewerstats.cpp
@@ -64,6 +64,7 @@
#include "llworld.h"
#include "llfeaturemanager.h"
#include "llviewernetwork.h"
+#include "llmeshrepository.h" //for LLMeshRepository::sBytesReceived
class StatAttributes
@@ -799,6 +800,7 @@ void send_stats()
download["world_kbytes"] = gTotalWorldBytes / 1024.0;
download["object_kbytes"] = gTotalObjectBytes / 1024.0;
download["texture_kbytes"] = gTotalTextureBytes / 1024.0;
+ download["mesh_kbytes"] = LLMeshRepository::sBytesReceived/1024.0;
LLSD &in = body["stats"]["net"]["in"];