summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerstats.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-09-04 16:25:43 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-09-04 16:25:43 -0400
commitd72ddddcaf07a1b9c7fb479e2432cf1bfa286a94 (patch)
treee86fe98bc9c46b4915d24684b07b7a8721465d6c /indra/newview/llviewerstats.cpp
parenta980a8f30870d35a5a45cbf52169f7bf35cf95ce (diff)
parent487973d3f0ee9b8583b3d977ca6a405cba5fe518 (diff)
Merge branch 'release/luau-scripting' into lua-merge
Diffstat (limited to 'indra/newview/llviewerstats.cpp')
-rw-r--r--indra/newview/llviewerstats.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewerstats.cpp b/indra/newview/llviewerstats.cpp
index 3499c7eb7d..5218552314 100644
--- a/indra/newview/llviewerstats.cpp
+++ b/indra/newview/llviewerstats.cpp
@@ -66,6 +66,7 @@
#include "llinventorymodel.h"
#include "lluiusage.h"
#include "lltranslate.h"
+#include "llluamanager.h"
// "Minimal Vulkan" to get max API Version
@@ -673,6 +674,10 @@ void send_viewer_stats(bool include_preferences)
system["shader_level"] = shader_level;
+ LLSD &scripts = body["scripts"];
+ scripts["lua_scripts"] = LLLUAmanager::sScriptCount;
+ scripts["lua_auto_scripts"] = LLLUAmanager::sAutorunScriptCount;
+
LLSD &download = body["downloads"];
download["world_kbytes"] = F64Kilobytes(gTotalWorldData).value();