diff options
author | Florian Dold <florian.dold@gmail.com> | 2015-12-11 16:50:44 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2015-12-11 16:50:44 +0000 |
commit | 2718db6f29c81df70171b1f5488a068cc7650c72 (patch) | |
tree | 9ebbac759bd71afb2a05c4a981b1d77c45f34534 /src/set/gnunet-service-set_union.c | |
parent | 912f323c9f28c069195ff73926307d4aa92c78ac (diff) | |
download | gnunet-2718db6f29c81df70171b1f5488a068cc7650c72.tar.gz gnunet-2718db6f29c81df70171b1f5488a068cc7650c72.zip |
Set statistics
Diffstat (limited to 'src/set/gnunet-service-set_union.c')
-rw-r--r-- | src/set/gnunet-service-set_union.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/set/gnunet-service-set_union.c b/src/set/gnunet-service-set_union.c index 637ea6e70..4cba00eb0 100644 --- a/src/set/gnunet-service-set_union.c +++ b/src/set/gnunet-service-set_union.c | |||
@@ -681,6 +681,11 @@ handle_p2p_strata_estimator (void *cls, | |||
681 | int diff; | 681 | int diff; |
682 | size_t len; | 682 | size_t len; |
683 | 683 | ||
684 | GNUNET_STATISTICS_update (_GSS_statistics, | ||
685 | "# bytes of SE received", | ||
686 | ntohs (mh->size), | ||
687 | GNUNET_NO); | ||
688 | |||
684 | if (op->state->phase != PHASE_EXPECT_SE) | 689 | if (op->state->phase != PHASE_EXPECT_SE) |
685 | { | 690 | { |
686 | fail_union_operation (op); | 691 | fail_union_operation (op); |