-fewer stats
authorChristian Grothoff <christian@grothoff.org>
Wed, 16 May 2012 15:01:15 +0000 (15:01 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 16 May 2012 15:01:15 +0000 (15:01 +0000)
src/fragmentation/defragmentation.c
src/fragmentation/fragmentation.c

index cc6875a9ba70a4c89a2705cbffe8cadadf9f7b1a..2d3f4a57b6a55122d7ecb82b98cfeed83b3853e6 100644 (file)
@@ -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) ||
index 9c9fea251011eb3552c7566b5cbc44b3b44be843..4749f537819b8d10a9a11bcde50166b86d4535e3 100644 (file)
@@ -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);