Skip to content
Snippets Groups Projects
Commit 91c1545f authored by David Parks's avatar David Parks
Browse files

Added mesh bytes received to viewer stats.

parent c33bec01
No related branches found
No related tags found
No related merge requests found
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
#include "llworld.h" #include "llworld.h"
#include "llfeaturemanager.h" #include "llfeaturemanager.h"
#include "llviewernetwork.h" #include "llviewernetwork.h"
#include "llmeshrepository.h" //for LLMeshRepository::sBytesReceived
class StatAttributes class StatAttributes
...@@ -799,6 +800,7 @@ void send_stats() ...@@ -799,6 +800,7 @@ void send_stats()
download["world_kbytes"] = gTotalWorldBytes / 1024.0; download["world_kbytes"] = gTotalWorldBytes / 1024.0;
download["object_kbytes"] = gTotalObjectBytes / 1024.0; download["object_kbytes"] = gTotalObjectBytes / 1024.0;
download["texture_kbytes"] = gTotalTextureBytes / 1024.0; download["texture_kbytes"] = gTotalTextureBytes / 1024.0;
download["mesh_kbytes"] = LLMeshRepository::sBytesReceived/1024.0;
LLSD &in = body["stats"]["net"]["in"]; LLSD &in = body["stats"]["net"]["in"];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment