summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerstats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerstats.cpp')
-rw-r--r--indra/newview/llviewerstats.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llviewerstats.cpp b/indra/newview/llviewerstats.cpp
index 7d0d16a100..fac01cbc46 100644
--- a/indra/newview/llviewerstats.cpp
+++ b/indra/newview/llviewerstats.cpp
@@ -759,8 +759,12 @@ void send_stats()
// misc["string_2"] =
// misc["int_1"] = LLFloaterDirectory::sOldSearchCount; // Steve: 1.18.6
// misc["int_2"] = LLFloaterDirectory::sNewSearchCount; // Steve: 1.18.6
- misc["int_1"] = LLSD::Integer(gSavedSettings.getU32("RenderQualityPerformance")); // Steve: 1.21
- misc["int_2"] = LLSD::Integer(gFrameStalls); // Steve: 1.21
+// misc["int_1"] = LLSD::Integer(gSavedSettings.getU32("RenderQualityPerformance")); // Steve: 1.21
+// misc["int_2"] = LLSD::Integer(gFrameStalls); // Steve: 1.21
+ F32 unbaked_time = LLVOAvatar::sUnbakedTime / gFrameTime;
+ misc["int_1"] = LLSD::Integer(unbaked_time * 1000.f); // Steve: 1.22
+ F32 grey_time = LLVOAvatar::sGreyTime / gFrameTime;
+ misc["int_2"] = LLSD::Integer(grey_time * 1000.f); // Steve: 1.22
LLViewerStats::getInstance()->addToMessage(body);