summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturestats.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2017-08-17 15:32:01 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2017-08-17 15:32:01 +0300
commitcbd4c0196fc32f94c6f9a41d161b65f4609985d4 (patch)
treecff7496793f34cf0df2b8fec502bc4bf2bd0f34f /indra/newview/lltexturestats.cpp
parent2c02c89b5805fc63b09e5a5215a771b43b59ce8e (diff)
SL-683 Instrument viewer cache
Diffstat (limited to 'indra/newview/lltexturestats.cpp')
-rw-r--r--indra/newview/lltexturestats.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/lltexturestats.cpp b/indra/newview/lltexturestats.cpp
index 8ded148e17..b55b4d9ca4 100644
--- a/indra/newview/lltexturestats.cpp
+++ b/indra/newview/lltexturestats.cpp
@@ -30,6 +30,7 @@
#include "llagent.h"
#include "lltexturefetch.h"
#include "lltexturestats.h"
+#include "llversioninfo.h"
#include "llviewerregion.h"
#include "llcorehttputil.h"
@@ -45,6 +46,8 @@ void send_texture_stats_to_sim(const LLSD &texture_stats)
LLUUID agent_id = gAgent.getID();
texture_stats_report["agent_id"] = agent_id;
texture_stats_report["region_id"] = gAgent.getRegion()->getRegionID();
+ texture_stats_report["viewer_channel"] = LLVersionInfo::getChannel();
+ texture_stats_report["viewer_version"] = LLVersionInfo::getVersion();
texture_stats_report["stats_data"] = texture_stats;
std::string texture_cap_url = gAgent.getRegion()->getCapability("TextureStats");