summaryrefslogtreecommitdiff
path: root/indra/newview/llworld.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-10-01 19:39:04 -0700
committerRichard Linden <none@none>2012-10-01 19:39:04 -0700
commit14b1b0b2bb6bac5bc688cc4d14c33f1b680dd3b4 (patch)
tree74942f4fef955b5a55031650146e745bbc4ccd6f /indra/newview/llworld.cpp
parentb1baf982b1bd41a150233d0a28d3601226924c65 (diff)
SH-3275 WIP Run viewer metrics for object update messages
cleaned up API samplers are now value types with copy-on-write buffers under the hood removed coupling with LLThread
Diffstat (limited to 'indra/newview/llworld.cpp')
-rw-r--r--indra/newview/llworld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp
index 97079e0588..1e8665e229 100644
--- a/indra/newview/llworld.cpp
+++ b/indra/newview/llworld.cpp
@@ -704,7 +704,7 @@ void LLWorld::updateNetStats()
S32 actual_out_bits = gMessageSystem->mPacketRing.getAndResetActualOutBits();
LLViewerStats::getInstance()->mActualInKBitStat.addValue(actual_in_bits/1024.f);
LLViewerStats::getInstance()->mActualOutKBitStat.addValue(actual_out_bits/1024.f);
- STAT_KBIT.sample(bits/1024.f);
+ STAT_KBIT.add(bits/1024.f);
//LLViewerStats::getInstance()->mKBitStat.addValue(bits/1024.f);
LLViewerStats::getInstance()->mPacketsInStat.addValue(packets_in);
LLViewerStats::getInstance()->mPacketsOutStat.addValue(packets_out);