aboutsummaryrefslogtreecommitdiff
path: root/src/set/gnunet-service-set_union.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2015-12-10 14:17:12 +0000
committerFlorian Dold <florian.dold@gmail.com>2015-12-10 14:17:12 +0000
commitc283a6775a6438f7da5c3173b3993f78d1369a7d (patch)
treef3203f424824fa6cf43e0d160a9ac38697c64b80 /src/set/gnunet-service-set_union.c
parent5a21156686cfc9048656f801387f5ea52a8a64c7 (diff)
downloadgnunet-c283a6775a6438f7da5c3173b3993f78d1369a7d.tar.gz
gnunet-c283a6775a6438f7da5c3173b3993f78d1369a7d.zip
statistics
Diffstat (limited to 'src/set/gnunet-service-set_union.c')
-rw-r--r--src/set/gnunet-service-set_union.c8
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 78975749a..52e1d0b4c 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,
1507 LOG (GNUNET_ERROR_TYPE_DEBUG, 1507 LOG (GNUNET_ERROR_TYPE_DEBUG,
1508 "Initiating union operation evaluation\n"); 1508 "Initiating union operation evaluation\n");
1509 GNUNET_STATISTICS_update (_GSS_statistics, 1509 GNUNET_STATISTICS_update (_GSS_statistics,
1510 "# of total union operations",
1511 1,
1512 GNUNET_NO);
1513 GNUNET_STATISTICS_update (_GSS_statistics,
1510 "# of initiated union operations", 1514 "# of initiated union operations",
1511 1, 1515 1,
1512 GNUNET_NO); 1516 GNUNET_NO);
@@ -1551,6 +1555,10 @@ union_accept (struct Operation *op)
1551 "# of accepted union operations", 1555 "# of accepted union operations",
1552 1, 1556 1,
1553 GNUNET_NO); 1557 GNUNET_NO);
1558 GNUNET_STATISTICS_update (_GSS_statistics,
1559 "# of total union operations",
1560 1,
1561 GNUNET_NO);
1554 1562
1555 op->state = GNUNET_new (struct OperationState); 1563 op->state = GNUNET_new (struct OperationState);
1556 op->state->se = strata_estimator_dup (op->spec->set->state->se); 1564 op->state->se = strata_estimator_dup (op->spec->set->state->se);