[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r18506 - gnunet/src/nse
From: |
gnunet |
Subject: |
[GNUnet-SVN] r18506 - gnunet/src/nse |
Date: |
Thu, 8 Dec 2011 13:42:06 +0100 |
Author: grothoff
Date: 2011-12-08 13:42:06 +0100 (Thu, 08 Dec 2011)
New Revision: 18506
Modified:
gnunet/src/nse/gnunet-service-nse.c
Log:
add statistic to track estimated network diameter
Modified: gnunet/src/nse/gnunet-service-nse.c
===================================================================
--- gnunet/src/nse/gnunet-service-nse.c 2011-12-08 12:38:28 UTC (rev 18505)
+++ gnunet/src/nse/gnunet-service-nse.c 2011-12-08 12:42:06 UTC (rev 18506)
@@ -1123,6 +1123,9 @@
htonl (ntohl (incoming_flood->hop_count) + 1);
hop_count_max =
GNUNET_MAX (ntohl (incoming_flood->hop_count) + 1, hop_count_max);
+ GNUNET_STATISTICS_set (stats,
+ "# estimated network diameter",
+ hop_count_max, GNUNET_NO);
/* have a new, better size estimate, inform clients */
update_network_size_estimate ();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r18506 - gnunet/src/nse,
gnunet <=