summaryrefslogtreecommitdiff
path: root/indra/newview/llworld.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-03-06 11:27:12 -0800
committerRichard Linden <none@none>2013-03-06 11:27:12 -0800
commit9a81945eac31f41848cd48a5ba18dee4949f2d03 (patch)
tree2a0a6644adfa609651ce9c42a808ce67bef9d0b3 /indra/newview/llworld.cpp
parentdcf4e489213d6e954a34fbb3c5c96e94645b868b (diff)
parente52e5fe5be0d2f4e0e8ded445bd18c0985ef968a (diff)
Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting
Diffstat (limited to 'indra/newview/llworld.cpp')
-rw-r--r--indra/newview/llworld.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp
index 06e2302b0b..e088f94d64 100644
--- a/indra/newview/llworld.cpp
+++ b/indra/newview/llworld.cpp
@@ -720,15 +720,15 @@ void LLWorld::updateNetStats()
S32 actual_in_bits = gMessageSystem->mPacketRing.getAndResetActualInBits();
S32 actual_out_bits = gMessageSystem->mPacketRing.getAndResetActualOutBits();
- LLStatViewer::ACTUAL_IN_KBIT.add<LLTrace::Bits>(actual_in_bits);
- LLStatViewer::ACTUAL_OUT_KBIT.add<LLTrace::Bits>(actual_out_bits);
- LLStatViewer::KBIT.add<LLTrace::Bits>(bits);
- LLStatViewer::PACKETS_IN.add(packets_in);
- LLStatViewer::PACKETS_OUT.add(packets_out);
- LLStatViewer::PACKETS_LOST.add(packets_lost);
+ add(LLStatViewer::ACTUAL_IN_KBIT, LLTrace::Bits(actual_in_bits));
+ add(LLStatViewer::ACTUAL_OUT_KBIT, LLTrace::Bits(actual_out_bits));
+ add(LLStatViewer::KBIT, LLTrace::Bits(bits));
+ add(LLStatViewer::PACKETS_IN, packets_in);
+ add(LLStatViewer::PACKETS_OUT, packets_out);
+ add(LLStatViewer::PACKETS_LOST, packets_lost);
if (packets_in)
{
- LLStatViewer::PACKETS_LOST_PERCENT.sample(100.f*((F32)packets_lost/(F32)packets_in));
+ sample(LLStatViewer::PACKETS_LOST_PERCENT, 100.f * ((F32)packets_lost/(F32)packets_in));
}
mLastPacketsIn = gMessageSystem->mPacketsIn;