aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ats-tests/ats-testing-log.c16
-rw-r--r--src/ats-tests/ats-testing.h10
-rw-r--r--src/ats-tests/gnunet-ats-sim.c2
3 files changed, 25 insertions, 3 deletions
diff --git a/src/ats-tests/ats-testing-log.c b/src/ats-tests/ats-testing-log.c
index 2e3a89e5a..ffd55c88e 100644
--- a/src/ats-tests/ats-testing-log.c
+++ b/src/ats-tests/ats-testing-log.c
@@ -656,7 +656,11 @@ collect_log_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
656 &collect_log_task, l); 656 &collect_log_task, l);
657} 657}
658 658
659 659/**
660 * Stop logging
661 *
662 * @param l the logging handle
663 */
660void 664void
661GNUNET_ATS_TEST_logging_stop (struct LoggingHandle *l) 665GNUNET_ATS_TEST_logging_stop (struct LoggingHandle *l)
662{ 666{
@@ -691,6 +695,16 @@ GNUNET_ATS_TEST_logging_stop (struct LoggingHandle *l)
691 GNUNET_free (l); 695 GNUNET_free (l);
692} 696}
693 697
698
699/**
700 * Start logging
701 *
702 * @param log_frequency the logging frequency
703 * @param testname the testname
704 * @param masters the master peers used for benchmarking
705 * @oaram num_master the number of master peers
706 * @return the logging handle or NULL on error
707 */
694struct LoggingHandle * 708struct LoggingHandle *
695GNUNET_ATS_TEST_logging_start (struct GNUNET_TIME_Relative log_frequency, 709GNUNET_ATS_TEST_logging_start (struct GNUNET_TIME_Relative log_frequency,
696 char * testname, struct BenchmarkPeer *masters, int num_masters) 710 char * testname, struct BenchmarkPeer *masters, int num_masters)
diff --git a/src/ats-tests/ats-testing.h b/src/ats-tests/ats-testing.h
index a2937d51d..705ea6605 100644
--- a/src/ats-tests/ats-testing.h
+++ b/src/ats-tests/ats-testing.h
@@ -472,6 +472,12 @@ GNUNET_ATS_TEST_generate_traffic_stop_all ();
472 472
473/** 473/**
474 * Start logging 474 * Start logging
475 *
476 * @param log_frequency the logging frequency
477 * @param testname the testname
478 * @param masters the master peers used for benchmarking
479 * @oaram num_master the number of master peers
480 * @return the logging handle or NULL on error
475 */ 481 */
476struct LoggingHandle * 482struct LoggingHandle *
477GNUNET_ATS_TEST_logging_start (struct GNUNET_TIME_Relative log_frequency, 483GNUNET_ATS_TEST_logging_start (struct GNUNET_TIME_Relative log_frequency,
@@ -479,9 +485,11 @@ GNUNET_ATS_TEST_logging_start (struct GNUNET_TIME_Relative log_frequency,
479 485
480/** 486/**
481 * Stop logging 487 * Stop logging
488 *
489 * @param l the logging handle
482 */ 490 */
483void 491void
484GNUNET_ATS_TEST_logging_stop (struct LoggingHandle *); 492GNUNET_ATS_TEST_logging_stop (struct LoggingHandle *l);
485 493
486/** 494/**
487 * Log all data now 495 * Log all data now
diff --git a/src/ats-tests/gnunet-ats-sim.c b/src/ats-tests/gnunet-ats-sim.c
index a15afa639..6f95d9ce1 100644
--- a/src/ats-tests/gnunet-ats-sim.c
+++ b/src/ats-tests/gnunet-ats-sim.c
@@ -18,7 +18,7 @@
18 Boston, MA 02111-1307, USA. 18 Boston, MA 02111-1307, USA.
19 */ 19 */
20/** 20/**
21 * @file ats-test/gnunet-ats-sim.c 21 * @file ats-tests/gnunet-ats-sim.c
22 * @brief ats traffic simulator: this tool uses the ats-test library to setup a 22 * @brief ats traffic simulator: this tool uses the ats-test library to setup a
23 * topology and generate traffic between these peers. The traffic description 23 * topology and generate traffic between these peers. The traffic description
24 * is loaded from a experiment description file 24 * is loaded from a experiment description file