aboutsummaryrefslogtreecommitdiff
path: root/src/ats-tests/ats-testing-log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats-tests/ats-testing-log.c')
-rw-r--r--src/ats-tests/ats-testing-log.c16
1 files changed, 15 insertions, 1 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)