aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2021-05-14 12:26:42 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-05-14 12:26:42 +0200
commitc0b53f04253bea5b500194f3b3b4f41b444b1065 (patch)
tree748db1eaab23bbdc8ae8f85763d711a3e99d0d0d /src/transport
parent014b6c1b340b23697195410934cbe0632b68e8f1 (diff)
downloadgnunet-c0b53f04253bea5b500194f3b3b4f41b444b1065.tar.gz
gnunet-c0b53f04253bea5b500194f3b3b4f41b444b1065.zip
-remove tracing
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/test_communicator_basic.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/transport/test_communicator_basic.c b/src/transport/test_communicator_basic.c
index 970093b83..f43cdaaf3 100644
--- a/src/transport/test_communicator_basic.c
+++ b/src/transport/test_communicator_basic.c
@@ -755,13 +755,11 @@ add_queue_cb (void *cls,
755 unsigned int peer_nr; 755 unsigned int peer_nr;
756 756
757 peer_nr = get_peer_nr (cls, GNUNET_NO); 757 peer_nr = get_peer_nr (cls, GNUNET_NO);
758
759 LOG (GNUNET_ERROR_TYPE_DEBUG, 758 LOG (GNUNET_ERROR_TYPE_DEBUG,
760 "Handle %p add %u %u\n", 759 "Handle %p add %u %u\n",
761 tc_h, 760 tc_h,
762 peer_nr, 761 peer_nr,
763 get_peer_nr_from_tc (tc_h)); 762 get_peer_nr_from_tc (tc_h));
764
765 if ((GNUNET_NO == bidirect)&&(0 != strcmp ((char*) cls, cfg_peers_name[0]))) 763 if ((GNUNET_NO == bidirect)&&(0 != strcmp ((char*) cls, cfg_peers_name[0])))
766 { 764 {
767 LOG (GNUNET_ERROR_TYPE_DEBUG, 765 LOG (GNUNET_ERROR_TYPE_DEBUG,
@@ -772,21 +770,11 @@ add_queue_cb (void *cls,
772 return; 770 return;
773 LOG (GNUNET_ERROR_TYPE_DEBUG, 771 LOG (GNUNET_ERROR_TYPE_DEBUG,
774 "Queue established, starting test...\n"); 772 "Queue established, starting test...\n");
775 // start_short = GNUNET_TIME_absolute_get ();
776 // my_tc = tc_h;
777 LOG (GNUNET_ERROR_TYPE_DEBUG,
778 "MTU: %llu, Overhead: %llu\n",
779 mtu,
780 sizeof(struct GNUNET_TRANSPORT_SendMessageTo) +
781 sizeof(struct GNUNET_MessageHeader));
782 if (UINT32_MAX != mtu) /* Message header overhead */ 773 if (UINT32_MAX != mtu) /* Message header overhead */
783 long_message_size = mtu - sizeof(struct GNUNET_TRANSPORT_SendMessageTo) 774 long_message_size = mtu - sizeof(struct GNUNET_TRANSPORT_SendMessageTo)
784 - sizeof(struct GNUNET_MessageHeader); 775 - sizeof(struct GNUNET_MessageHeader);
785 else 776 else
786 long_message_size = LONG_MESSAGE_SIZE; 777 long_message_size = LONG_MESSAGE_SIZE;
787 LOG (GNUNET_ERROR_TYPE_DEBUG,
788 "Set message size to %llu\n", long_message_size);
789 // phase = TP_BURST_SHORT;
790 timeout[peer_nr] = GNUNET_TIME_relative_to_absolute ( 778 timeout[peer_nr] = GNUNET_TIME_relative_to_absolute (
791 GNUNET_TIME_relative_multiply ( 779 GNUNET_TIME_relative_multiply (
792 GNUNET_TIME_UNIT_SECONDS, 780 GNUNET_TIME_UNIT_SECONDS,
@@ -798,8 +786,6 @@ add_queue_cb (void *cls,
798 TIMEOUT_MULTIPLIER), 786 TIMEOUT_MULTIPLIER),
799 &latency_timeout, 787 &latency_timeout,
800 tc_h); 788 tc_h);
801 // prepare_test (NULL);
802 // short_test (NULL);
803 choose_phase (tc_h); 789 choose_phase (tc_h);
804} 790}
805 791