gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: set: more statistics


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: set: more statistics
Date: Tue, 28 Feb 2017 15:34:38 +0100

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

dold pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new f56a318a4 set: more statistics
f56a318a4 is described below

commit f56a318a49c109d0246d4b5d188cffb50d2b91c8
Author: Florian Dold <address@hidden>
AuthorDate: Tue Feb 28 15:34:29 2017 +0100

    set: more statistics
---
 src/set/gnunet-service-set_union.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/set/gnunet-service-set_union.c 
b/src/set/gnunet-service-set_union.c
index 1a421063e..b51939da0 100644
--- a/src/set/gnunet-service-set_union.c
+++ b/src/set/gnunet-service-set_union.c
@@ -895,6 +895,10 @@ handle_p2p_strata_estimator (void *cls,
          "Sending full set (diff=%d, own set=%u)\n",
          diff,
          op->state->initial_size);
+    GNUNET_STATISTICS_update (_GSS_statistics,
+                              "# of full sends",
+                              1,
+                              GNUNET_NO);
     if (op->state->initial_size <= other_size)
     {
       send_full_set (op);
@@ -909,6 +913,10 @@ handle_p2p_strata_estimator (void *cls,
   }
   else
   {
+    GNUNET_STATISTICS_update (_GSS_statistics,
+                              "# of ibf sends",
+                              1,
+                              GNUNET_NO);
     if (GNUNET_OK !=
         send_ibf (op,
                   get_order_from_difference (diff)))

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



reply via email to

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