gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: RPS service: Record number


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: RPS service: Record number of unique peers in gossip
Date: Mon, 08 Apr 2019 15:04:38 +0200

This is an automated email from the git hooks/post-receive script.

julius-buenger pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new ba4995427 RPS service: Record number of unique peers in gossip
ba4995427 is described below

commit ba49954276e1f04c1d3b6e1861be617882783e54
Author: Julius Bünger <address@hidden>
AuthorDate: Mon Apr 8 15:03:52 2019 +0200

    RPS service: Record number of unique peers in gossip
---
 src/rps/gnunet-service-rps.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index f6fe17589..1fdcfe4ca 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -2611,6 +2611,10 @@ insert_in_sampler (void *cls,
      GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY);
   uint32_t num_observed_unique_peers =
     GNUNET_CONTAINER_multipeermap_size (sub->observed_unique_peers);
+  GNUNET_STATISTICS_set (stats,
+                         "# unique peers in gossip",
+                         num_observed_unique_peers,
+                         GNUNET_NO);
 #ifdef TO_FILE_FULL
   to_file (sub->file_name_observed_log,
           "%" PRIu32 " %" PRIu32 " %f\n",

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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