aboutsummaryrefslogtreecommitdiff
path: root/src/nse/gnunet-nse-profiler.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-03-28 16:47:02 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-03-28 16:47:02 +0000
commit949f21f03df9f08b0a73c3e47a798e63790edf7f (patch)
tree52f56432e08a0b83cfc155e1af45e1587d32073d /src/nse/gnunet-nse-profiler.c
parent8f8e6a5bb1ccbb7d1311332ec1cc3a340bdd621f (diff)
downloadgnunet-949f21f03df9f08b0a73c3e47a798e63790edf7f.tar.gz
gnunet-949f21f03df9f08b0a73c3e47a798e63790edf7f.zip
provide how many links succeeded and how many failed in test master callback
from GNUNET_TESTBED_run() and GNUNET_TESTBED_test_run() functions
Diffstat (limited to 'src/nse/gnunet-nse-profiler.c')
-rw-r--r--src/nse/gnunet-nse-profiler.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/nse/gnunet-nse-profiler.c b/src/nse/gnunet-nse-profiler.c
index 9ed998c84..0ba36749c 100644
--- a/src/nse/gnunet-nse-profiler.c
+++ b/src/nse/gnunet-nse-profiler.c
@@ -768,11 +768,17 @@ master_controller_cb (void *cls,
768 * @param num_peers_ number of peers in 'peers' 768 * @param num_peers_ number of peers in 'peers'
769 * @param peers handle to peers run in the testbed. NULL upon timeout (see 769 * @param peers handle to peers run in the testbed. NULL upon timeout (see
770 * GNUNET_TESTBED_test_run()). 770 * GNUNET_TESTBED_test_run()).
771 * @param links_succeeded the number of overlay link connection attempts that
772 * succeeded
773 * @param links_failed the number of overlay link connection attempts that
774 * failed
771 */ 775 */
772static void 776static void
773test_master (void *cls, 777test_master (void *cls,
774 unsigned int num_peers_, 778 unsigned int num_peers_,
775 struct GNUNET_TESTBED_Peer **peers) 779 struct GNUNET_TESTBED_Peer **peers,
780 unsigned int links_succeeded,
781 unsigned int links_failed)
776{ 782{
777 if (NULL == peers) 783 if (NULL == peers)
778 { 784 {