[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r17410 - gnunet/src/ats
From: |
gnunet |
Subject: |
[GNUnet-SVN] r17410 - gnunet/src/ats |
Date: |
Wed, 12 Oct 2011 15:20:53 +0200 |
Author: grothoff
Date: 2011-10-12 15:20:53 +0200 (Wed, 12 Oct 2011)
New Revision: 17410
Modified:
gnunet/src/ats/ats_api.c
Log:
log
Modified: gnunet/src/ats/ats_api.c
===================================================================
--- gnunet/src/ats/ats_api.c 2011-10-12 13:08:49 UTC (rev 17409)
+++ gnunet/src/ats/ats_api.c 2011-10-12 13:20:53 UTC (rev 17410)
@@ -142,6 +142,12 @@
ar->bandwidth_out = sbc->bw_out;
GNUNET_BANDWIDTH_tracker_update_quota (&ar->available_recv_window,
ar->bandwidth_in);
+ GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG,
+ "ats-api",
+ "Bandwidth assigned to peer %s is i:%u/o:%u bytes/s\n",
+ GNUNET_i2s ((const struct GNUNET_PeerIdentity *) key),
+ ntohl (ar->bandwidth_in.value__),
+ ntohl (ar->bandwidth_out.value__));
if (NULL != sbc->atc->alloc_cb)
sbc->atc->alloc_cb (sbc->atc->alloc_cb_cls,
(const struct GNUNET_PeerIdentity *) key,
@@ -235,6 +241,7 @@
return GNUNET_NO;
}
+
int
map_it (void *cls, const GNUNET_HashCode * key, void *value)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r17410 - gnunet/src/ats,
gnunet <=