ESC-210 Non-active regions were getting extra duration time.
Metrics were crediting inactive regions (those not current but contributing to the sample) with additional time at the end of the sample interval. Corrected.master
parent
ca76c55847
commit
a59c43f1ad
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue