RPS profiler: Dump statistics more frequently
authorJulius Bünger <buenger@mytum.de>
Thu, 1 Nov 2018 15:20:57 +0000 (16:20 +0100)
committerJulius Bünger <buenger@mytum.de>
Thu, 1 Nov 2018 15:20:57 +0000 (16:20 +0100)
src/rps/gnunet-rps-profiler.c

index c0059ac3be85ab107d9414862a9af9cf3e432e5f..b17fb6a50f1232b5c9d3a76ed3a7a60bb3651032 100644 (file)
@@ -2432,10 +2432,10 @@ post_test_shutdown_ready_cb (void *cls,
     GNUNET_TESTBED_operation_done (rps_peer->stat_op);
   }
 
-  //write_final_stats ();
+  write_final_stats ();
   if (GNUNET_YES == check_statistics_collect_completed())
   {
-    write_final_stats ();
+    //write_final_stats ();
     GNUNET_free (stat_cls);
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
         "Shutting down\n");