diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-07-10 20:45:07 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-07-11 00:22:54 +0300 |
commit | 2e931a55adef97812f9673b8b03691bfa134403b (patch) | |
tree | 49cb250b2247af52b2925f45bd57e1b7c4675cc6 /indra/newview/tests/llviewerassetstats_test.cpp | |
parent | 210abc3755038d3b8630a646734df52fa54459fd (diff) |
#3725 Improve reporting of avatar statistics
1. Don't report UI avatars, they are local and UI specific
2. Split animeshes from normal avatars
3. Rename 'cloud' to 'missing parts', it's not related to 'cloud'
4. Exclude self
5. Report avatars held by meshes
Diffstat (limited to 'indra/newview/tests/llviewerassetstats_test.cpp')
-rw-r--r-- | indra/newview/tests/llviewerassetstats_test.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/tests/llviewerassetstats_test.cpp b/indra/newview/tests/llviewerassetstats_test.cpp index d5e281bba8..10c68432a1 100644 --- a/indra/newview/tests/llviewerassetstats_test.cpp +++ b/indra/newview/tests/llviewerassetstats_test.cpp @@ -43,12 +43,15 @@ namespace LLStatViewer LLTrace::SampleStatHandle<> FPS_SAMPLE("fpssample"); } -void LLVOAvatar::getNearbyRezzedStats(std::vector<S32>& counts, F32& avg_cloud_time, S32& cloud_avatars) +void LLVOAvatar::getNearbyRezzedStats(std::vector<S32>& counts, F32& avg_cloud_time, S32& cloud_avatars, S32& pending_meshes, S32& control_avatars) { counts.resize(3); counts[0] = 0; counts[1] = 0; counts[2] = 1; + cloud_avatars = 0; + pending_meshes = 0; + control_avatars = 0; } // static |