Added mesh bytes received to viewer stats.

meow-7.2.2
Dave Parks 2010-08-11 17:43:36 -05:00
parent c33bec0177
commit 91c1545f90
1 changed files with 2 additions and 0 deletions

View File

@ -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"];