[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r13375 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r13375 - gnunet/src/transport |
Date: |
Fri, 22 Oct 2010 17:44:21 +0200 |
Author: wachs
Date: 2010-10-22 17:44:20 +0200 (Fri, 22 Oct 2010)
New Revision: 13375
Modified:
gnunet/src/transport/test_quota_compliance.c
Log:
Modified: gnunet/src/transport/test_quota_compliance.c
===================================================================
--- gnunet/src/transport/test_quota_compliance.c 2010-10-22 15:35:29 UTC
(rev 13374)
+++ gnunet/src/transport/test_quota_compliance.c 2010-10-22 15:44:20 UTC
(rev 13375)
@@ -34,7 +34,7 @@
#include "gnunet_transport_service.h"
#include "transport.h"
-#define VERBOSE GNUNET_NO
+#define VERBOSE GNUNET_YES
#define VERBOSE_ARM GNUNET_NO
@@ -304,14 +304,16 @@
transmit_handle = NULL;
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "\n Measurement finished: \n Quota allowed: %llu kb/s\n
Throughput: %llu kb/s\n", (current_quota_p1 / (1024)) ,
(total_bytes/(duration.value / 1000)/1024));
+ "\nQuota compliance ok: \n"\
+ "Quota allowed: %10llu kb/s\n"\
+ "Throughput : %10llu kb/s\n", (current_quota_p1 / (1024)) ,
(total_bytes/(duration.value / 1000)/1024));
if (current_quota_p1 < total_bytes/(duration.value / 1000))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"\nQuota compliance failed: \n"\
- "Quota allowed: %llu kb/s\n"\
- "Throughput : %llu kb/s\n", (current_quota_p1 /
(1024)) , (total_bytes/(duration.value / 1000)/1024));
+ "Quota allowed: %10llu kb/s\n"\
+ "Throughput : %10llu kb/s\n", (current_quota_p1 /
(1024)) , (total_bytes/(duration.value / 1000)/1024));
ok = 1;
end();
return;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r13375 - gnunet/src/transport,
gnunet <=