gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r24404 - gnunet/src/testbed


From: gnunet
Subject: [GNUnet-SVN] r24404 - gnunet/src/testbed
Date: Thu, 18 Oct 2012 17:53:47 +0200

Author: harsha
Date: 2012-10-18 17:53:47 +0200 (Thu, 18 Oct 2012)
New Revision: 24404

Modified:
   gnunet/src/testbed/gnunet-testbed-profiler.c
Log:
print statistics

Modified: gnunet/src/testbed/gnunet-testbed-profiler.c
===================================================================
--- gnunet/src/testbed/gnunet-testbed-profiler.c        2012-10-18 15:41:16 UTC 
(rev 24403)
+++ gnunet/src/testbed/gnunet-testbed-profiler.c        2012-10-18 15:53:47 UTC 
(rev 24404)
@@ -295,8 +295,8 @@
   if (++started_peers == num_peers)
   {
     prof_time = GNUNET_TIME_absolute_get_duration (prof_start_time);
-    printf ("All peers started successfully in %.2f seconds\n",
-            ((double) prof_time.rel_value) / 1000.00);
+    printf ("%u peers started successfully in %.2f seconds\n",
+            num_peers, ((double) prof_time.rel_value) / 1000.00);
     result = GNUNET_OK;
     if (0 == num_links)
     {
@@ -351,8 +351,8 @@
   if (++created_peers == num_peers)
   {
     prof_time = GNUNET_TIME_absolute_get_duration (prof_start_time);    
-    printf ("All peers created successfully in %.2f seconds\n",
-            ((double) prof_time.rel_value) / 1000.00);
+    printf ("%u peers created successfully in %.2f seconds\n",
+            num_peers, ((double) prof_time.rel_value) / 1000.00);
     /* Now peers are to be started */
     state = STATE_PEERS_STARTING;
     prof_start_time = GNUNET_TIME_absolute_get ();
@@ -407,7 +407,7 @@
         /* Proceed to start peers */
         if (++slaves_started == num_hosts - 1)
         {
-          printf ("All slaves started successfully\n");
+          printf ("%u controllers started successfully\n", num_hosts);
           state = STATE_PEERS_CREATING;
           prof_start_time = GNUNET_TIME_absolute_get ();
           peers = GNUNET_malloc (sizeof (struct GNUNET_TESTBED_Peer *)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]