aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-10-17 15:10:28 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-10-17 15:10:28 +0000
commit62979559c33059ac59cd2a28393749f2552c781e (patch)
treeaec94a57b296fc7df4a4b60deb8f4a3ac85f22bb /src
parent695da9df8d9b7a8c79fa029ec49ebc07d71aa2a9 (diff)
downloadgnunet-62979559c33059ac59cd2a28393749f2552c781e.tar.gz
gnunet-62979559c33059ac59cd2a28393749f2552c781e.zip
Diffstat (limited to 'src')
-rw-r--r--src/transport/test_quota_compliance.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c
index ec4b9a8db..493352512 100644
--- a/src/transport/test_quota_compliance.c
+++ b/src/transport/test_quota_compliance.c
@@ -144,7 +144,7 @@ end ()
144 delta = GNUNET_TIME_absolute_get_duration (start_time).rel_value; 144 delta = GNUNET_TIME_absolute_get_duration (start_time).rel_value;
145 datarate = (total_bytes_sent * 1000) / delta; 145 datarate = (total_bytes_sent * 1000) / delta;
146 146
147 fprintf (stderr, "\nThroughput was %llu b/s\n", 147 fprintf (stderr, "Throughput was %llu b/s\n",
148 datarate); 148 datarate);
149 149
150 test_failed = GNUNET_NO; 150 test_failed = GNUNET_NO;
@@ -162,7 +162,7 @@ end ()
162 } 162 }
163 if (test_failed == GNUNET_NO) 163 if (test_failed == GNUNET_NO)
164 { 164 {
165 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 165 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
166 "Datarate of %llu b/s complied to allowed outbound quota of %llu b/s and inbound quota of %llu b/s\n", datarate, quota_out_p1, quota_in_p2); 166 "Datarate of %llu b/s complied to allowed outbound quota of %llu b/s and inbound quota of %llu b/s\n", datarate, quota_out_p1, quota_in_p2);
167 } 167 }
168 168
@@ -531,7 +531,7 @@ run (void *cls, char *const *args, const char *cfgfile,
531 531
532 if (NULL != strstr (test_name,"asymmetric")) 532 if (NULL != strstr (test_name,"asymmetric"))
533 { 533 {
534 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 534 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
535 "Running asymmetric test with sending peer unlimited, receiving peer (in/out): %llu/%llu b/s \n", 535 "Running asymmetric test with sending peer unlimited, receiving peer (in/out): %llu/%llu b/s \n",
536 p2_quota_in, p2_quota_out); 536 p2_quota_in, p2_quota_out);
537 p1_quota_out = 1024 * 1024 * 1024; 537 p1_quota_out = 1024 * 1024 * 1024;
@@ -539,7 +539,7 @@ run (void *cls, char *const *args, const char *cfgfile,
539 } 539 }
540 else 540 else
541 { 541 {
542 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 542 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
543 "Running symmetric test with (in/out) %llu/%llu b/s \n", 543 "Running symmetric test with (in/out) %llu/%llu b/s \n",
544 p2_quota_in, p2_quota_out); 544 p2_quota_in, p2_quota_out);
545 } 545 }