diff options
author | Florian Dold <florian.dold@gmail.com> | 2015-12-10 14:17:12 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2015-12-10 14:17:12 +0000 |
commit | c283a6775a6438f7da5c3173b3993f78d1369a7d (patch) | |
tree | f3203f424824fa6cf43e0d160a9ac38697c64b80 /src | |
parent | 5a21156686cfc9048656f801387f5ea52a8a64c7 (diff) |
statistics
Diffstat (limited to 'src')
-rw-r--r-- | src/set/gnunet-service-set_union.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/set/gnunet-service-set_union.c b/src/set/gnunet-service-set_union.c index 78975749a5..52e1d0b4c7 100644 --- a/src/set/gnunet-service-set_union.c +++ b/src/set/gnunet-service-set_union.c @@ -1507,6 +1507,10 @@ union_evaluate (struct Operation *op, LOG (GNUNET_ERROR_TYPE_DEBUG, "Initiating union operation evaluation\n"); GNUNET_STATISTICS_update (_GSS_statistics, + "# of total union operations", + 1, + GNUNET_NO); + GNUNET_STATISTICS_update (_GSS_statistics, "# of initiated union operations", 1, GNUNET_NO); @@ -1551,6 +1555,10 @@ union_accept (struct Operation *op) "# of accepted union operations", 1, GNUNET_NO); + GNUNET_STATISTICS_update (_GSS_statistics, + "# of total union operations", + 1, + GNUNET_NO); op->state = GNUNET_new (struct OperationState); op->state->se = strata_estimator_dup (op->spec->set->state->se); |