aboutsummaryrefslogtreecommitdiff
path: root/src/setu/gnunet-service-setu.c
diff options
context:
space:
mode:
authorElias Summermatter <elias.summermatter@seccom.ch>2021-04-07 20:55:14 +0200
committerElias Summermatter <elias.summermatter@seccom.ch>2021-04-07 20:55:14 +0200
commitead075e389e85d6924c652935ddaa1e44dd20c4b (patch)
treecdb5c4f09b7a1cff51b243a86022e5ccc90841aa /src/setu/gnunet-service-setu.c
parent363822a820bcbe3351cd4eff94803ebdbfcad115 (diff)
downloadgnunet-ead075e389e85d6924c652935ddaa1e44dd20c4b.tar.gz
gnunet-ead075e389e85d6924c652935ddaa1e44dd20c4b.zip
Run 10000 iterations
Diffstat (limited to 'src/setu/gnunet-service-setu.c')
-rw-r--r--src/setu/gnunet-service-setu.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c
index 46a4f0386..02e1f5d15 100644
--- a/src/setu/gnunet-service-setu.c
+++ b/src/setu/gnunet-service-setu.c
@@ -711,9 +711,6 @@ load_config(struct Operation * op) {
711 711
712 GNUNET_CONFIGURATION_get_value_float(setu_cfg,"PERFORMANCE", "MAX_SET_DIFF_FACTOR_DIFFERENTIAL", &fl); 712 GNUNET_CONFIGURATION_get_value_float(setu_cfg,"PERFORMANCE", "MAX_SET_DIFF_FACTOR_DIFFERENTIAL", &fl);
713 op->max_set_diff_factor_diff_sync = fl; 713 op->max_set_diff_factor_diff_sync = fl;
714
715 LOG(GNUNET_ERROR_TYPE_ERROR,"LOAD CONFIG: %d\n", op->ibf_number_buckets_per_element);
716
717} 714}
718 715
719 716
@@ -1640,13 +1637,10 @@ handle_union_p2p_strata_estimator (void *cls,
1640 return; 1637 return;
1641 } 1638 }
1642 1639
1643LOG (GNUNET_ERROR_TYPE_ERROR, "VALUE: %f\n ",op->max_set_diff_factor_diff_sync);
1644
1645 1640
1646 /** 1641 /**
1647 * Added rtt_bandwidth_tradeoff directly need future improvements 1642 * Added rtt_bandwidth_tradeoff directly need future improvements
1648 */ 1643 */
1649 LOG(GNUNET_ERROR_TYPE_ERROR,"((GNUNET_YES == %d) || (%d > %d * %f) || (0 == %d))", op->force_full,diff, op->initial_size, op->max_set_diff_factor_diff_sync, other_size);
1650 if ((GNUNET_YES == op->force_full) || 1644 if ((GNUNET_YES == op->force_full) ||
1651 (diff > op->initial_size * op->max_set_diff_factor_diff_sync) || 1645 (diff > op->initial_size * op->max_set_diff_factor_diff_sync) ||
1652 (0 == other_size)) 1646 (0 == other_size))
@@ -3855,11 +3849,6 @@ handle_client_accept (void *cls,
3855 perf_rtt.se.sent += 1; 3849 perf_rtt.se.sent += 1;
3856 perf_rtt.se.sent_var_bytes += len; 3850 perf_rtt.se.sent_var_bytes += len;
3857 3851
3858 GNUNET_log (
3859 GNUNET_ERROR_TYPE_ERROR,
3860 "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
3861
3862
3863 if (len < se->strata_count * IBF_BUCKET_SIZE * se->ibf_size) 3852 if (len < se->strata_count * IBF_BUCKET_SIZE * se->ibf_size)
3864 type = GNUNET_MESSAGE_TYPE_SETU_P2P_SEC; 3853 type = GNUNET_MESSAGE_TYPE_SETU_P2P_SEC;
3865 else 3854 else