diff options
Diffstat (limited to 'src/transport/transport-testing-cmds.h')
-rw-r--r-- | src/transport/transport-testing-cmds.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/transport/transport-testing-cmds.h b/src/transport/transport-testing-cmds.h index 46f6045dc..6e3c761f2 100644 --- a/src/transport/transport-testing-cmds.h +++ b/src/transport/transport-testing-cmds.h | |||
@@ -304,6 +304,28 @@ GNUNET_TRANSPORT_cmd_send_simple (const char *label, | |||
304 | struct GNUNET_TESTING_NetjailTopology * | 304 | struct GNUNET_TESTING_NetjailTopology * |
305 | topology); | 305 | topology); |
306 | 306 | ||
307 | /** | ||
308 | * | ||
309 | * | ||
310 | * @param label name for command. | ||
311 | * @param start_peer_label Label of the cmd to start a peer. | ||
312 | * @param create_label Label of the cmd which started the test system. | ||
313 | * @param num Number globally identifying the node. | ||
314 | * @param size The size of the test message to send. | ||
315 | * @param max_send The number of messages to send. | ||
316 | * @param topology The topology for the test setup. | ||
317 | * @return command. | ||
318 | */ | ||
319 | struct GNUNET_TESTING_Command | ||
320 | GNUNET_TRANSPORT_cmd_send_simple_performance (const char *label, | ||
321 | const char *start_peer_label, | ||
322 | const char *create_label, | ||
323 | uint32_t num, | ||
324 | int size, | ||
325 | int max_send, | ||
326 | struct GNUNET_TESTING_NetjailTopology * | ||
327 | topology); | ||
328 | |||
307 | 329 | ||
308 | /** | 330 | /** |
309 | * Create command. | 331 | * Create command. |