projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ba3554
)
set: more statistics
author
Florian Dold
<florian.dold@gmail.com>
Tue, 28 Feb 2017 14:34:29 +0000
(15:34 +0100)
committer
Florian Dold
<florian.dold@gmail.com>
Tue, 28 Feb 2017 14:34:35 +0000
(15:34 +0100)
src/set/gnunet-service-set_union.c
patch
|
blob
|
history
diff --git
a/src/set/gnunet-service-set_union.c
b/src/set/gnunet-service-set_union.c
index 1a421063eb2aa450a87f9340c3477fa553a13040..b51939da0c73ee884a299906bfee0f702d6c3610 100644
(file)
--- 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)))