diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-03-14 17:46:44 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-03-14 17:46:44 -0400 |
commit | b4b0800bfd8e4a92a9e7ccbfbf24be2a0b4bef4a (patch) | |
tree | d0c0bc7362682ed9ed944121c27641d953265ffb /indra/newview/llviewerassetstats.h | |
parent | ee758c1da0cf0c2436034109868003da56060e6c (diff) |
SH-2970 FIX - per-region logging of basic avatar stats
Diffstat (limited to 'indra/newview/llviewerassetstats.h')
-rwxr-xr-x[-rw-r--r--] | indra/newview/llviewerassetstats.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llviewerassetstats.h b/indra/newview/llviewerassetstats.h index 73ec5974b2..6cb0cc4060 100644..100755 --- a/indra/newview/llviewerassetstats.h +++ b/indra/newview/llviewerassetstats.h @@ -125,7 +125,8 @@ public: mRegionHandle(src.mRegionHandle), mTotalTime(src.mTotalTime), mStartTimestamp(src.mStartTimestamp), - mFPS(src.mFPS) + mFPS(src.mFPS), + mAvatarRezStates(src.mAvatarRezStates) { for (int i = 0; i < LL_ARRAY_SIZE(mRequests); ++i) { @@ -148,6 +149,7 @@ public: duration_t mTotalTime; duration_t mStartTimestamp; LLSimpleStatMMM<> mFPS; + std::vector<S32> mAvatarRezStates; struct prs_group { @@ -181,6 +183,9 @@ public: // Frames-Per-Second Samples void recordFPS(F32 fps); + // Avatar-related statistics + void recordAvatarStats(); + // Merge a source instance into a destination instance. This is // conceptually an 'operator+=()' method: // - counts are added @@ -310,6 +315,7 @@ void record_response_main(LLViewerAssetType::EType at, bool with_http, bool is_t void record_fps_main(F32 fps); +void record_avatar_stats(); /** * Region context, event and duration loggers for Thread 1. |