aboutsummaryrefslogtreecommitdiff
path: root/src/rps/gnunet-rps-profiler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rps/gnunet-rps-profiler.c')
-rw-r--r--src/rps/gnunet-rps-profiler.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c
index 49714872f..277688b56 100644
--- a/src/rps/gnunet-rps-profiler.c
+++ b/src/rps/gnunet-rps-profiler.c
@@ -2311,14 +2311,14 @@ void write_final_stats (void){
2311 2311
2312 for (uint32_t i = 0; i < num_peers; i++) 2312 for (uint32_t i = 0; i < num_peers; i++)
2313 { 2313 {
2314 to_file ("/tmp/rps/final_stats.dat", 2314 to_file ("/tmp/rps/final_stats.csv",
2315 "%" PRIu32 " " /* index */ 2315 ", %" PRIu32 ", " /* index */
2316 "%s %" /* id */ 2316 "%s, %" /* id */
2317 PRIu64 " %" /* rounds */ 2317 PRIu64 ", %" /* rounds */
2318 PRIu64 " %" PRIu64 " %" PRIu64 " %" PRIu64 " %" PRIu64 " %" PRIu64 " %" /* blocking */ 2318 PRIu64 ", %" PRIu64 ", %" PRIu64 ", %" PRIu64 ", %" PRIu64 ", %" PRIu64 ", %" /* blocking */
2319 PRIu64 " %" PRIu64 " %" PRIu64 " %" /* issued */ 2319 PRIu64 ", %" PRIu64 ", %" PRIu64 ", %" /* issued */
2320 PRIu64 " %" PRIu64 " %" PRIu64 " %" /* sent */ 2320 PRIu64 ", %" PRIu64 ", %" PRIu64 ", %" /* sent */
2321 PRIu64 " %" PRIu64 " %" PRIu64 /* recv */, 2321 PRIu64 ", %" PRIu64 ", %" PRIu64 /* recv */,
2322 i, 2322 i,
2323 GNUNET_i2s (rps_peers[i].peer_id), 2323 GNUNET_i2s (rps_peers[i].peer_id),
2324 rps_peers[i].stats[STAT_TYPE_ROUNDS], 2324 rps_peers[i].stats[STAT_TYPE_ROUNDS],
@@ -2407,10 +2407,10 @@ post_test_shutdown_ready_cb (void *cls,
2407 GNUNET_TESTBED_operation_done (rps_peer->stat_op); 2407 GNUNET_TESTBED_operation_done (rps_peer->stat_op);
2408 } 2408 }
2409 2409
2410 write_final_stats (); 2410 //write_final_stats ();
2411 if (GNUNET_YES == check_statistics_collect_completed()) 2411 if (GNUNET_YES == check_statistics_collect_completed())
2412 { 2412 {
2413 //write_final_stats (); 2413 write_final_stats ();
2414 GNUNET_free (stat_cls); 2414 GNUNET_free (stat_cls);
2415 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 2415 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
2416 "Shutting down\n"); 2416 "Shutting down\n");