aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-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/fs/gnunet-fs-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/fs/gnunet-fs-profiler.c')
-rw-r--r--src/fs/gnunet-fs-profiler.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-profiler.c b/src/fs/gnunet-fs-profiler.c
index aeb84315a..9bc3ff253 100644
--- a/src/fs/gnunet-fs-profiler.c
+++ b/src/fs/gnunet-fs-profiler.c
@@ -130,9 +130,16 @@ terminate_task (void *cls,
130 * @param cls closure 130 * @param cls closure
131 * @param num_peers number of peers in 'peers' 131 * @param num_peers number of peers in 'peers'
132 * @param peers handle to peers run in the testbed 132 * @param peers handle to peers run in the testbed
133 * @param links_succeeded the number of overlay link connection attempts that
134 * succeeded
135 * @param links_failed the number of overlay link connection attempts that
136 * failed
133 */ 137 */
134static void 138static void
135test_master (void *cls, unsigned int num_peers, struct GNUNET_TESTBED_Peer **peers) 139test_master (void *cls, unsigned int num_peers,
140 struct GNUNET_TESTBED_Peer **peers,
141 unsigned int links_succeeded,
142 unsigned int links_failed)
136{ 143{
137 // const struct GNUNET_CONFIGURATION_Handle *cfg = cls; 144 // const struct GNUNET_CONFIGURATION_Handle *cfg = cls;
138 // FIXME: enable clients to signal 'completion' before timeout; 145 // FIXME: enable clients to signal 'completion' before timeout;