diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-16 15:01:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-16 15:01:15 +0000 |
commit | 0a78f1bf44a5420e748adbb56513e9e23cb58ad4 (patch) | |
tree | 8a34ef4986c92f937d4d017a7d5ba5e7fcc50551 /src | |
parent | 8fcb9162a53613e4df429136b2d8567f5ddd0a91 (diff) | |
download | gnunet-0a78f1bf44a5420e748adbb56513e9e23cb58ad4.tar.gz gnunet-0a78f1bf44a5420e748adbb56513e9e23cb58ad4.zip |
-fewer stats
Diffstat (limited to 'src')
-rw-r--r-- | src/fragmentation/defragmentation.c | 3 | ||||
-rw-r--r-- | src/fragmentation/fragmentation.c | 6 |
2 files changed, 0 insertions, 9 deletions
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, | |||
540 | if (mc->frag_times_write_offset - mc->frag_times_start_offset > 1) | 540 | if (mc->frag_times_write_offset - mc->frag_times_start_offset > 1) |
541 | { | 541 | { |
542 | dc->latency = estimate_latency (mc); | 542 | dc->latency = estimate_latency (mc); |
543 | GNUNET_STATISTICS_set (dc->stats, _("# Defragmentation latency estimate (ms)"), | ||
544 | dc->latency.rel_value, | ||
545 | GNUNET_NO); | ||
546 | } | 543 | } |
547 | delay = GNUNET_TIME_relative_multiply (dc->latency, bc + 1); | 544 | delay = GNUNET_TIME_relative_multiply (dc->latency, bc + 1); |
548 | if ( (last + fid == num_fragments) || | 545 | 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) | |||
232 | GNUNET_STATISTICS_update (fc->stats, _("# fragments wrap arounds"), 1, | 232 | GNUNET_STATISTICS_update (fc->stats, _("# fragments wrap arounds"), 1, |
233 | GNUNET_NO); | 233 | GNUNET_NO); |
234 | } | 234 | } |
235 | GNUNET_STATISTICS_set (fc->stats, | ||
236 | _("# next delay for fragment transmission"), | ||
237 | delay.rel_value, | ||
238 | GNUNET_NO); | ||
239 | fc->proc_busy = GNUNET_YES; | 235 | fc->proc_busy = GNUNET_YES; |
240 | fc->delay_until = GNUNET_TIME_relative_to_absolute (delay); | 236 | fc->delay_until = GNUNET_TIME_relative_to_absolute (delay); |
241 | fc->num_transmissions++; | 237 | fc->num_transmissions++; |
@@ -274,8 +270,6 @@ GNUNET_FRAGMENT_context_create (struct GNUNET_STATISTICS_Handle *stats, | |||
274 | size_t size; | 270 | size_t size; |
275 | uint64_t bits; | 271 | uint64_t bits; |
276 | 272 | ||
277 | GNUNET_STATISTICS_set (stats, _("# expected ACK delay for fragments"), | ||
278 | delay.rel_value, GNUNET_NO); | ||
279 | GNUNET_STATISTICS_update (stats, _("# messages fragmented"), 1, GNUNET_NO); | 273 | GNUNET_STATISTICS_update (stats, _("# messages fragmented"), 1, GNUNET_NO); |
280 | GNUNET_assert (mtu >= 1024 + sizeof (struct FragmentHeader)); | 274 | GNUNET_assert (mtu >= 1024 + sizeof (struct FragmentHeader)); |
281 | size = ntohs (msg->size); | 275 | size = ntohs (msg->size); |