[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 01/02: RPS: Track expected number of pushes w. sta
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 01/02: RPS: Track expected number of pushes w. statistics |
Date: |
Tue, 26 Feb 2019 12:39:24 +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 da41f8e25a192f78f2360b79372780e750a94178
Author: Julius Bünger <address@hidden>
AuthorDate: Tue Feb 26 12:36:13 2019 +0100
RPS: Track expected number of pushes w. statistics
---
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 098c71f93..b389c5b79 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -4404,6 +4404,10 @@ do_round (void *cls)
"# peers in view at end of round",
View_size (sub->view),
GNUNET_NO);
+ GNUNET_STATISTICS_set (stats,
+ "# expected pushes",
+ alpha * sub->view_size_est_need,
+ GNUNET_NO);
}
LOG (GNUNET_ERROR_TYPE_DEBUG,
--
To stop receiving notification emails like this one, please contact
address@hidden