diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-05-11 13:20:34 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-05-11 13:20:34 -0500 |
commit | 8077d33ba05a46ea61914be686816be5b54bae6d (patch) | |
tree | c8efaf66f36bee37b496c01aa22e7f3535045d6e /indra/newview/llworld.cpp | |
parent | 0b1c0aa242db6e789e0706f5ebfb9c80f98da9d3 (diff) |
SL-19656 Remove LLPerfStats thread and fold into General thread. Hook avatar GPU time into LLPerfStats. Incidental decruft.
Diffstat (limited to 'indra/newview/llworld.cpp')
-rw-r--r-- | indra/newview/llworld.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp index 732ef1da6c..0e0dbdc071 100644 --- a/indra/newview/llworld.cpp +++ b/indra/newview/llworld.cpp @@ -1441,7 +1441,11 @@ F32 LLWorld::getNearbyAvatarsAndMaxGPUTime(std::vector<LLCharacter*> &valid_near char_iter++; continue; } - gPipeline.profileAvatar(avatar); + + if (!avatar->isTooSlow()) + { + gPipeline.profileAvatar(avatar); + } nearby_max_complexity = llmax(nearby_max_complexity, avatar->getGPURenderTime()); valid_nearby_avs.push_back(*char_iter); } |