aboutsummaryrefslogtreecommitdiff
path: root/src/ats-tests/perf_ats.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats-tests/perf_ats.c')
-rw-r--r--src/ats-tests/perf_ats.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ats-tests/perf_ats.c b/src/ats-tests/perf_ats.c
index bad7076ca..67ff7d0af 100644
--- a/src/ats-tests/perf_ats.c
+++ b/src/ats-tests/perf_ats.c
@@ -437,6 +437,8 @@ do_benchmark ()
437 progress_task = GNUNET_SCHEDULER_add_now (&print_progress, NULL ); 437 progress_task = GNUNET_SCHEDULER_add_now (&print_progress, NULL );
438 438
439 /* Start sending test messages */ 439 /* Start sending test messages */
440 if (GNUNET_YES == logging)
441 perf_logging_start (testname, mps, num_masters);
440 for (c_m = 0; c_m < num_masters; c_m++) 442 for (c_m = 0; c_m < num_masters; c_m++)
441 { 443 {
442 for (c_s = 0; c_s < num_slaves; c_s++) 444 for (c_s = 0; c_s < num_slaves; c_s++)
@@ -455,8 +457,7 @@ do_benchmark ()
455 if (pref_val != GNUNET_ATS_PREFERENCE_END) 457 if (pref_val != GNUNET_ATS_PREFERENCE_END)
456 mps[c_m].ats_task = GNUNET_SCHEDULER_add_now (&ats_pref_task, &mps[c_m]); 458 mps[c_m].ats_task = GNUNET_SCHEDULER_add_now (&ats_pref_task, &mps[c_m]);
457 } 459 }
458 if (GNUNET_YES == logging) 460
459 perf_logging_start (testname, mps, num_masters);
460} 461}
461 462
462static void 463static void