summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llviewerassetstats.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewerassetstats.cpp b/indra/newview/llviewerassetstats.cpp
index cc41a95893..d798786277 100644
--- a/indra/newview/llviewerassetstats.cpp
+++ b/indra/newview/llviewerassetstats.cpp
@@ -240,8 +240,9 @@ LLViewerAssetStats::asLLSD()
static const LLSD::String rmean_tag("resp_mean");
const duration_t now = LLViewerAssetStatsFF::get_timestamp();
- LLSD regions = LLSD::emptyMap();
+ mCurRegionStats->accumulateTime(now);
+ LLSD regions = LLSD::emptyMap();
for (PerRegionContainer::iterator it = mRegionStats.begin();
mRegionStats.end() != it;
++it)
@@ -253,7 +254,6 @@ LLViewerAssetStats::asLLSD()
}
PerRegionStats & stats = *it->second;
- stats.accumulateTime(now);
LLSD reg_stat = LLSD::emptyMap();