aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs22
1 files changed, 19 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs
index ca5a7bd..1812c08 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs
@@ -246,11 +246,27 @@ namespace OpenSim.Region.ClientStack.LindenUDP
246 throw new NotImplementedException(); 246 throw new NotImplementedException();
247 } 247 }
248 248
249 /// <summary>
250 /// Return statistics information about client packet queues.
251 /// </summary>
252 ///
253 /// FIXME: This should really be done in a more sensible manner rather than sending back a formatted string.
254 ///
255 /// <returns></returns>
249 public string GetStats() 256 public string GetStats()
250 { 257 {
251 // TODO: ??? 258 return string.Format(
252 return string.Format("{0,7} {1,7} {2,7} {3,7} {4,7} {5,7} {6,7} {7,7} {8,7} {9,7}", 259 "{0,9} {1,10} {2,8} {3,7} {4,7} {5,7} {6,7} {7,9} {8,7} {9,7}",
253 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); 260 PacketsSent,
261 PacketsReceived,
262 m_throttleCategories[(int)ThrottleOutPacketType.Resend].Content,
263 m_throttleCategories[(int)ThrottleOutPacketType.Land].Content,
264 m_throttleCategories[(int)ThrottleOutPacketType.Wind].Content,
265 m_throttleCategories[(int)ThrottleOutPacketType.Cloud].Content,
266 m_throttleCategories[(int)ThrottleOutPacketType.Task].Content,
267 m_throttleCategories[(int)ThrottleOutPacketType.Texture].Content,
268 m_throttleCategories[(int)ThrottleOutPacketType.Asset].Content,
269 m_throttleCategories[(int)ThrottleOutPacketType.State].Content);
254 } 270 }
255 271
256 public void SendPacketStats() 272 public void SendPacketStats()