aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-testbed-profiler.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-09-06 14:38:24 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-09-06 14:38:24 +0000
commit2ca4b8a208f6f910c819bbaa6785a25ae2955501 (patch)
tree7328fb7cfc62189197dfa34035502a80b0acdcd3 /src/testbed/gnunet-testbed-profiler.c
parent8d46a214ce11653b5160d32e330786fa487e3ae6 (diff)
downloadgnunet-2ca4b8a208f6f910c819bbaa6785a25ae2955501.tar.gz
gnunet-2ca4b8a208f6f910c819bbaa6785a25ae2955501.zip
- give out run handle through which master controller's handle can be retrieved
Diffstat (limited to 'src/testbed/gnunet-testbed-profiler.c')
-rw-r--r--src/testbed/gnunet-testbed-profiler.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testbed/gnunet-testbed-profiler.c b/src/testbed/gnunet-testbed-profiler.c
index bd3fe8afd..0b36fed9f 100644
--- a/src/testbed/gnunet-testbed-profiler.c
+++ b/src/testbed/gnunet-testbed-profiler.c
@@ -209,6 +209,7 @@ controller_event_cb (void *cls,
209 * Signature of a main function for a testcase. 209 * Signature of a main function for a testcase.
210 * 210 *
211 * @param cls closure 211 * @param cls closure
212 * @param h the run handle
212 * @param num_peers number of peers in 'peers' 213 * @param num_peers number of peers in 'peers'
213 * @param peers handle to peers run in the testbed 214 * @param peers handle to peers run in the testbed
214 * @param links_succeeded the number of overlay link connection attempts that 215 * @param links_succeeded the number of overlay link connection attempts that
@@ -216,7 +217,9 @@ controller_event_cb (void *cls,
216 * @param links_failed the number of overlay link 217 * @param links_failed the number of overlay link
217 */ 218 */
218static void 219static void
219test_run (void *cls, unsigned int num_peers, struct GNUNET_TESTBED_Peer **peers, 220test_run (void *cls,
221 struct GNUNET_TESTBED_RunHandle *h,
222 unsigned int num_peers, struct GNUNET_TESTBED_Peer **peers,
220 unsigned int links_succeeded, 223 unsigned int links_succeeded,
221 unsigned int links_failed) 224 unsigned int links_failed)
222{ 225{