mldonkey-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-commits] Changes to mldonkey/src/utils/net/tcpBufferedSocket.m


From: mldonkey-commits
Subject: [Mldonkey-commits] Changes to mldonkey/src/utils/net/tcpBufferedSocket.ml
Date: Thu, 07 Jul 2005 13:22:44 -0400

Index: mldonkey/src/utils/net/tcpBufferedSocket.ml
diff -u mldonkey/src/utils/net/tcpBufferedSocket.ml:1.25 
mldonkey/src/utils/net/tcpBufferedSocket.ml:1.26
--- mldonkey/src/utils/net/tcpBufferedSocket.ml:1.25    Tue Jun 28 22:45:57 2005
+++ mldonkey/src/utils/net/tcpBufferedSocket.ml Thu Jul  7 17:22:43 2005
@@ -1841,7 +1841,10 @@
     
   
 let _ =
+  Heap.add_memstat "tcpBufferedSocket" (fun level buf ->
+      Printf.bprintf buf "  %d latencies\n" (Hashtbl.length latencies);
+      Printf.bprintf buf "  %d entries in net_stats\n" (Hashtbl.length 
net_stats);
+  );
   add_infinite_timer 1.0 proc_net_timer 
-  
-  
+
 let packet_frame_size = ref 250




reply via email to

[Prev in Thread] Current Thread [Next in Thread]