aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/Monitoring/StatsManager.cs4
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/PacketPool.cs4
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/Monitoring/StatsManager.cs b/OpenSim/Framework/Monitoring/StatsManager.cs
index d7aff03..31989e5 100644
--- a/OpenSim/Framework/Monitoring/StatsManager.cs
+++ b/OpenSim/Framework/Monitoring/StatsManager.cs
@@ -351,7 +351,7 @@ namespace OpenSim.Framework.Monitoring
351 if (c == 0) 351 if (c == 0)
352 return 0; 352 return 0;
353 353
354 return (double)Antecedent / c; 354 return (double)Antecedent / c * 100;
355 } 355 }
356 356
357 set 357 set
@@ -367,7 +367,7 @@ namespace OpenSim.Framework.Monitoring
367 public override string ToConsoleString() 367 public override string ToConsoleString()
368 { 368 {
369 return string.Format( 369 return string.Format(
370 "{0}.{1}.{2} : {3:0.###}{4} ({5}/{6})", 370 "{0}.{1}.{2} : {3:0.##}{4} ({5}/{6})",
371 Category, Container, ShortName, Value, UnitName, Antecedent, Consequent); 371 Category, Container, ShortName, Value, UnitName, Antecedent, Consequent);
372 } 372 }
373 } 373 }
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/PacketPool.cs b/OpenSim/Region/ClientStack/Linden/UDP/PacketPool.cs
index fd6b0ed..a8a1bfe 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/PacketPool.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/PacketPool.cs
@@ -48,14 +48,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
48 "PacketsReused", 48 "PacketsReused",
49 "Packets reused", 49 "Packets reused",
50 "clientstack", 50 "clientstack",
51 "simulator", 51 "packetpool",
52 StatVerbosity.Debug, 52 StatVerbosity.Debug,
53 "Number of packets reused out of all requests to the packet pool"); 53 "Number of packets reused out of all requests to the packet pool");
54 54
55 private PercentageStat m_blocksReusedStat = new PercentageStat( 55 private PercentageStat m_blocksReusedStat = new PercentageStat(
56 "BlocksReused", 56 "BlocksReused",
57 "Blocks reused", 57 "Blocks reused",
58 "clientstack", 58 "packetpool",
59 "simulator", 59 "simulator",
60 StatVerbosity.Debug, 60 StatVerbosity.Debug,
61 "Number of data blocks reused out of all requests to the packet pool"); 61 "Number of data blocks reused out of all requests to the packet pool");