From 7cb609ab057515d2982c6926073a512c7ecdb6d5 Mon Sep 17 00:00:00 2001 From: eyraudl Date: Mon, 27 Aug 2007 14:17:27 +0000 Subject: [PATCH 1/1] Adaptation to 'Change the way we specify the sizes of bandwidth tests to be able to send really large amount of data' git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4117 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- include/amok/bandwidth.h | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/include/amok/bandwidth.h b/include/amok/bandwidth.h index 13e45b3e19..129373cd60 100644 --- a/include/amok/bandwidth.h +++ b/include/amok/bandwidth.h @@ -92,16 +92,20 @@ XBT_PUBLIC(void) amok_bw_init(void); XBT_PUBLIC(void) amok_bw_exit(void); -XBT_PUBLIC(void) amok_bw_test(gras_socket_t peer, - unsigned long int buf_size,unsigned long int exp_size,unsigned long int msg_size, - double min_duration, - /*OUT*/ double *sec, double *bw); +XBT_PUBLIC void amok_bw_test(gras_socket_t peer, + unsigned long int buf_size, + unsigned long int msg_size, + unsigned long int msg_amount, + double min_duration, + /*OUT*/ double *sec, double *bw); XBT_PUBLIC(void) amok_bw_request(const char* from_name,unsigned int from_port, const char* to_name,unsigned int to_port, - unsigned long int buf_size,unsigned long int exp_size,unsigned long int msg_size, - double min_duration, - /*OUT*/ double *sec, double*bw); + unsigned long int buf_size, + unsigned long int msg_size, + unsigned long int msg_amount, + double min_duration, + /*OUT*/ double *sec, double*bw); XBT_PUBLIC(double*) amok_bw_matrix(xbt_dynar_t hosts, /* dynar of xbt_host_t */ int buf_size_bw, int msg_size_bw, int msg_amount_bw, double min_duration); -- 2.20.1