aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-03-22 02:58:26 +0000
committerBart Polot <bart@net.in.tum.de>2014-03-22 02:58:26 +0000
commitaa4b25956a928a876f2a34e91022f024c642d65c (patch)
treecd9bbba4ae6361cb354f858566d6c9213c0e3e7f /src/mesh
parente1f228e84522cfbb7110a98a12fcd459b5c7fd66 (diff)
downloadgnunet-aa4b25956a928a876f2a34e91022f024c642d65c.tar.gz
gnunet-aa4b25956a928a876f2a34e91022f024c642d65c.zip
- log
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/gnunet-mesh-profiler.c18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/mesh/gnunet-mesh-profiler.c b/src/mesh/gnunet-mesh-profiler.c
index 9545e347c..5e2b08b28 100644
--- a/src/mesh/gnunet-mesh-profiler.c
+++ b/src/mesh/gnunet-mesh-profiler.c
@@ -242,6 +242,20 @@ static unsigned int peers_warmup;
242 */ 242 */
243static int test_finished; 243static int test_finished;
244 244
245
246/**
247 * START THE TEST ITSELF, AS WE ARE CONNECTED TO THE MESH SERVICES.
248 *
249 * Testcase continues when the root receives confirmation of connected peers,
250 * on callback funtion ch.
251 *
252 * @param cls Closure (unsued).
253 * @param tc Task Context.
254 */
255static void
256start_test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc);
257
258
245/** 259/**
246 * Calculate a random delay. 260 * Calculate a random delay.
247 * 261 *
@@ -779,8 +793,8 @@ incoming_channel (void *cls, struct GNUNET_MESH_Channel *channel,
779 GNUNET_assert (NULL != peer); 793 GNUNET_assert (NULL != peer);
780 if (NULL == peers[n].incoming) 794 if (NULL == peers[n].incoming)
781 { 795 {
782 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "WARMUP %u <= %u\n", 796 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "WARMUP %3u: %u <= %u\n",
783 n, get_index (peer), channel); 797 peers_warmup, n, get_index (peer));
784 peers_warmup++; 798 peers_warmup++;
785 if (peers_warmup < peers_total) 799 if (peers_warmup < peers_total)
786 return NULL; 800 return NULL;