aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-testbed-profiler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/gnunet-testbed-profiler.c')
-rw-r--r--src/testbed/gnunet-testbed-profiler.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/testbed/gnunet-testbed-profiler.c b/src/testbed/gnunet-testbed-profiler.c
index 7b4218890..fd4f3885e 100644
--- a/src/testbed/gnunet-testbed-profiler.c
+++ b/src/testbed/gnunet-testbed-profiler.c
@@ -452,13 +452,16 @@ controller_event_cb (void *cls,
452 static unsigned int established_links; 452 static unsigned int established_links;
453 453
454 if (0 == established_links) 454 if (0 == established_links)
455 printf ("Establishing links\n"); 455 printf ("Establishing links\n .");
456 else 456 else
457 {
457 printf ("."); 458 printf (".");
459 fflush (stdout);
460 }
458 if (++established_links == num_links) 461 if (++established_links == num_links)
459 { 462 {
460 prof_time = GNUNET_TIME_absolute_get_duration (prof_start_time); 463 prof_time = GNUNET_TIME_absolute_get_duration (prof_start_time);
461 printf ("%u links established in %.2f seconds\n", 464 printf ("\n%u links established in %.2f seconds\n",
462 num_links, ((double) prof_time.rel_value) / 1000.00); 465 num_links, ((double) prof_time.rel_value) / 1000.00);
463 result = GNUNET_OK; 466 result = GNUNET_OK;
464 GNUNET_SCHEDULER_add_now (&do_shutdown, NULL); 467 GNUNET_SCHEDULER_add_now (&do_shutdown, NULL);