diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-11-03 09:56:22 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-11-03 09:56:22 +0000 |
commit | ded8183274398aa2d48b5ac56b28d1d643ce5443 (patch) | |
tree | ad11c85231b577145a81523e70208cfceb948530 /src/transport/test_quota_compliance.c | |
parent | 2adfd09e60cd70dae49210822e5b42ed66dd362d (diff) | |
download | gnunet-ded8183274398aa2d48b5ac56b28d1d643ce5443.tar.gz gnunet-ded8183274398aa2d48b5ac56b28d1d643ce5443.zip |
improved output
Diffstat (limited to 'src/transport/test_quota_compliance.c')
-rw-r--r-- | src/transport/test_quota_compliance.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c index 4e46bc1de..d4adfd14e 100644 --- a/src/transport/test_quota_compliance.c +++ b/src/transport/test_quota_compliance.c | |||
@@ -395,8 +395,8 @@ measurement_end (void *cls, | |||
395 | { | 395 | { |
396 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 396 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
397 | "\nQuota compliance failed: \n"\ | 397 | "\nQuota compliance failed: \n"\ |
398 | "Quota allowed: %10llu kB/s\n"\ | 398 | "Quota allowed: %10llu kB/s (%llu B/s)\n"\ |
399 | "Throughput : %10llu kB/s\n", (quota_allowed / (1024)), (total_bytes_sent/(duration.rel_value / 1000)/1024)); | 399 | "Throughput : %10llu kB/s (%llu B/s)\n", (quota_allowed / (1024)), quota_allowed, (total_bytes_sent/(duration.rel_value / 1000)/1024), total_bytes_sent/(duration.rel_value / 1000)); |
400 | ok = 1; | 400 | ok = 1; |
401 | end(); | 401 | end(); |
402 | return; | 402 | return; |
@@ -774,7 +774,7 @@ main (int argc, char *argv[]) | |||
774 | else | 774 | else |
775 | GNUNET_asprintf(&logger, "test-quota-compliance-%s-%s","https","symmetric"); | 775 | GNUNET_asprintf(&logger, "test-quota-compliance-%s-%s","https","symmetric"); |
776 | } | 776 | } |
777 | 777 | fprintf(stderr, "Running `%s'\n", logger); | |
778 | GNUNET_log_setup ("test-quota-compliance", | 778 | GNUNET_log_setup ("test-quota-compliance", |
779 | #if VERBOSE | 779 | #if VERBOSE |
780 | "DEBUG", | 780 | "DEBUG", |