Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adaptation to 'Change the way we specify the sizes of bandwidth tests to be able...
authoreyraudl <eyraudl@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 27 Aug 2007 14:17:27 +0000 (14:17 +0000)
committereyraudl <eyraudl@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 27 Aug 2007 14:17:27 +0000 (14:17 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4117 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/amok/bandwidth.h

index 13e45b3..129373c 100644 (file)
 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);