[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: rps profiler: more logging
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: rps profiler: more logging |
Date: |
Wed, 11 Apr 2018 10:46:37 +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 a67848585 rps profiler: more logging
a67848585 is described below
commit a67848585975067e40846fef9cccf6e8a7cd5494
Author: Julius Bünger <address@hidden>
AuthorDate: Wed Apr 11 10:46:07 2018 +0200
rps profiler: more logging
---
src/rps/test_rps.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/src/rps/test_rps.c b/src/rps/test_rps.c
index 9905e07ab..60a743167 100644
--- a/src/rps/test_rps.c
+++ b/src/rps/test_rps.c
@@ -2027,6 +2027,19 @@ static void compute_probabilities (uint32_t peer_idx)
view_size,
i,
prob_pull);
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "\t\tnumber of possible pull combinations: %" PRIu32 "\n",
+ binom (view_size, 0.45 * view_size));
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "\t\tnumber of possible pull combinations without %" PRIu32
+ ": %" PRIu32 "\n",
+ i,
+ binom (view_size - cont_views, 0.45 * view_size));
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "\t\tnumber of possible pull combinations with %" PRIu32
+ ": %" PRIu32 "\n",
+ i,
+ number_of_being_in_pull_events);
if (0 != probs[i]) count_non_zero_prob++;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: rps profiler: more logging,
gnunet <=