From: eyraudl Date: Mon, 27 Aug 2007 14:17:27 +0000 (+0000) Subject: Adaptation to 'Change the way we specify the sizes of bandwidth tests to be able... X-Git-Tag: v3.3~1243 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/7cb609ab057515d2982c6926073a512c7ecdb6d5?hp=6aba363fbe2e77ae9cdcafa2871567e4975d5246 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 --- 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);