summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-03-06 10:10:17 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-03-06 10:10:17 -0500
commit4e7bef91a72f6b08414fa56e9516159b848f818c (patch)
treedc8a907648bb2996e0d0dc0716d5ec2b938934c8 /indra/newview
parent7f6e5055fb93949a3a1455a336fa93137a954862 (diff)
SH-2970 WIP
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llvoavatarself.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index 22a52f8854..f14b3c2b6b 100755
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -2063,14 +2063,15 @@ LLSD LLVOAvatarSelf::metricsData()
result["is_self"] = isSelf();
std::vector<S32> rez_counts;
LLVOAvatar::getNearbyRezzedStats(rez_counts);
- result["nearby_cloud"] = rez_counts[0];
- result["nearby_gray"] = rez_counts[1];
- result["nearby_textured"] = rez_counts[2];
- result["timer_debug_existence"] = mDebugExistenceTimer.getElapsedTimeF32();
- result["timer_ruth_debug"] = mRuthDebugTimer.getElapsedTimeF32();
- result["timer_ruth"] = mRuthTimer.getElapsedTimeF32();
- result["timer_invisible"] = mInvisibleTimer.getElapsedTimeF32();
- result["timer_fully_loaded"] = mFullyLoadedTimer.getElapsedTimeF32();
+ result["nearby"] = LLSD::emptyArray();
+ result["nearby"][0] = rez_counts[0];
+ result["nearby"][1] = rez_counts[1];
+ result["nearby"][2] = rez_counts[2];
+ result["timers"]["debug_existence"] = mDebugExistenceTimer.getElapsedTimeF32();
+ result["timers"]["ruth_debug"] = mRuthDebugTimer.getElapsedTimeF32();
+ result["timers"]["ruth"] = mRuthTimer.getElapsedTimeF32();
+ result["timers"]["invisible"] = mInvisibleTimer.getElapsedTimeF32();
+ result["timers"]["fully_loaded"] = mFullyLoadedTimer.getElapsedTimeF32();
return result;
}