From: Christian Grothoff Date: Wed, 16 May 2012 15:01:15 +0000 (+0000) Subject: -fewer stats X-Git-Tag: initial-import-from-subversion-38251~13454 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0a78f1bf44a5420e748adbb56513e9e23cb58ad4;p=oweals%2Fgnunet.git -fewer stats --- diff --git a/src/fragmentation/defragmentation.c b/src/fragmentation/defragmentation.c index cc6875a9b..2d3f4a57b 100644 --- a/src/fragmentation/defragmentation.c +++ b/src/fragmentation/defragmentation.c @@ -540,9 +540,6 @@ GNUNET_DEFRAGMENT_process_fragment (struct GNUNET_DEFRAGMENT_Context *dc, if (mc->frag_times_write_offset - mc->frag_times_start_offset > 1) { dc->latency = estimate_latency (mc); - GNUNET_STATISTICS_set (dc->stats, _("# Defragmentation latency estimate (ms)"), - dc->latency.rel_value, - GNUNET_NO); } delay = GNUNET_TIME_relative_multiply (dc->latency, bc + 1); if ( (last + fid == num_fragments) || diff --git a/src/fragmentation/fragmentation.c b/src/fragmentation/fragmentation.c index 9c9fea251..4749f5378 100644 --- a/src/fragmentation/fragmentation.c +++ b/src/fragmentation/fragmentation.c @@ -232,10 +232,6 @@ transmit_next (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) GNUNET_STATISTICS_update (fc->stats, _("# fragments wrap arounds"), 1, GNUNET_NO); } - GNUNET_STATISTICS_set (fc->stats, - _("# next delay for fragment transmission"), - delay.rel_value, - GNUNET_NO); fc->proc_busy = GNUNET_YES; fc->delay_until = GNUNET_TIME_relative_to_absolute (delay); fc->num_transmissions++; @@ -274,8 +270,6 @@ GNUNET_FRAGMENT_context_create (struct GNUNET_STATISTICS_Handle *stats, size_t size; uint64_t bits; - GNUNET_STATISTICS_set (stats, _("# expected ACK delay for fragments"), - delay.rel_value, GNUNET_NO); GNUNET_STATISTICS_update (stats, _("# messages fragmented"), 1, GNUNET_NO); GNUNET_assert (mtu >= 1024 + sizeof (struct FragmentHeader)); size = ntohs (msg->size);