corkstat
authorChristian Grothoff <christian@grothoff.org>
Mon, 18 Oct 2010 11:52:53 +0000 (11:52 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 18 Oct 2010 11:52:53 +0000 (11:52 +0000)
src/core/gnunet-service-core.c

index f222e2a42d9e2437999cdd00e01aa7e51e1e19b7..82586e774b767c77caa197bea74b33ecbdb3b281 100644 (file)
@@ -1808,6 +1808,9 @@ select_messages (struct Neighbour *n,
           pos->do_transmit = GNUNET_NO;          
           pos = pos->next;
         }
+      GNUNET_STATISTICS_update (stats, 
+                               gettext_noop ("# transmissions delayed due to corking"), 
+                               1, GNUNET_NO);
 #if DEBUG_CORE
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                  "Deferring transmission for %llums due to underfull message buffer size (%u/%u)\n",