gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 01/03: rps: logging


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 01/03: rps: logging
Date: Wed, 21 Mar 2018 10:12:56 +0100

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

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

commit 28e2cbb911ee174d17a5eb0de41465d668b133d0
Author: Julius Bünger <address@hidden>
AuthorDate: Wed Mar 21 07:51:42 2018 +0100

    rps: logging
---
 src/rps/gnunet-service-rps.c | 5 +++++
 src/rps/rps_api.c            | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index fabef9388..30d677849 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -3848,6 +3848,11 @@ do_round (void *cls)
                                 CustomPeerMap_size (pull_map));
     final_size    = second_border +
       ceil ((1 - (alpha + beta)) * view_size_est_need);
+    LOG (GNUNET_ERROR_TYPE_DEBUG,
+        "first border: %" PRIu32 ", second border: %" PRIu32 ", final size: 
%"PRIu32 "\n",
+        first_border,
+        second_border,
+        final_size);
 
     /* Update view with peers received through PUSHes */
     permut = GNUNET_CRYPTO_random_permute (GNUNET_CRYPTO_QUALITY_STRONG,
diff --git a/src/rps/rps_api.c b/src/rps/rps_api.c
index 62ba9e226..0da3bd4a4 100644
--- a/src/rps/rps_api.c
+++ b/src/rps/rps_api.c
@@ -266,6 +266,9 @@ GNUNET_RPS_view_request (struct GNUNET_RPS_Handle 
*rps_handle,
   struct GNUNET_MQ_Envelope *ev;
   struct GNUNET_RPS_CS_DEBUG_ViewRequest *msg;
 
+  LOG (GNUNET_ERROR_TYPE_DEBUG,
+       "Client requests %" PRIu32 " view updates\n",
+       num_updates);
   rps_handle->view_update_cb = view_update_cb;
   rps_handle->view_update_cls = cls;
 

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



reply via email to

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