[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24034 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24034 - gnunet/src/transport |
Date: |
Thu, 27 Sep 2012 11:19:47 +0200 |
Author: wachs
Date: 2012-09-27 11:19:47 +0200 (Thu, 27 Sep 2012)
New Revision: 24034
Modified:
gnunet/src/transport/plugin_transport_udp.c
Log:
new statistics value to measure payload
Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2012-09-27 09:03:30 UTC (rev
24033)
+++ gnunet/src/transport/plugin_transport_udp.c 2012-09-27 09:19:47 UTC (rev
24034)
@@ -1236,7 +1236,11 @@
GNUNET_STATISTICS_update (plugin->env->stats,
"# bytes currently in UDP buffers",
msgbuf_size, GNUNET_NO);
+ GNUNET_STATISTICS_update (plugin->env->stats,
+ "# bytes payload asked to transmit via UDP",
+ msgbuf_size, GNUNET_NO);
+
/* Message */
udp = (struct UDPMessage *) mbuf;
udp->header.size = htons (mlen);
@@ -1990,8 +1994,8 @@
else
{
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "UDP transmitted %u-byte message to `%s' (%d: %s)\n",
- (unsigned int) (udpw->msg_size), GNUNET_a2s (sa, slen), (int) sent,
+ "UDP transmitted %u-byte message to `%s' `%s' (%d: %s)\n",
+ (unsigned int) (udpw->msg_size), GNUNET_i2s(&udpw->session->target)
,GNUNET_a2s (sa, slen), (int) sent,
(sent < 0) ? STRERROR (errno) : "ok");
GNUNET_STATISTICS_update (plugin->env->stats,
"# bytes transmitted via UDP",
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24034 - gnunet/src/transport,
gnunet <=