Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Renamed any gras stuff that was in xbt and should therefore be called
[simgrid.git] / include / amok / bandwidth.h
index 884fb19..f089506 100644 (file)
@@ -35,7 +35,7 @@ void amok_bw_exit(void);
  * Conduct a bandwidth test from the local process to the given peer.
  * This call is blocking until the end of the experiment.
  */
-gras_error_t amok_bw_test(gras_socket_t peer,
+xbt_error_t amok_bw_test(gras_socket_t peer,
                          unsigned int buf_size,unsigned int exp_size,unsigned int msg_size,
                          /*OUT*/ double *sec, double *bw);
 
@@ -57,7 +57,7 @@ gras_error_t amok_bw_test(gras_socket_t peer,
  * Conduct a bandwidth test from the process from_host:from_port to to_host:to_port.
  * This call is blocking until the end of the experiment.
  */
-gras_error_t grasbw_request(const char* from_name,unsigned int from_port,
+xbt_error_t grasbw_request(const char* from_name,unsigned int from_port,
                           const char* to_name,unsigned int to_port,
                           unsigned int bufSize,unsigned int expSize,unsigned int msgSize,
                           /*OUT*/ double *sec, double*bw);
@@ -81,7 +81,7 @@ gras_error_t grasbw_request(const char* from_name,unsigned int from_port,
  * Ask the process 'from_name:from_port' to start to saturate the link between itself
  * and to_name:to_name.
  */
-gras_error_t grasbw_saturate_start(const char* from_name,unsigned int from_port,
+xbt_error_t grasbw_saturate_start(const char* from_name,unsigned int from_port,
                                  const char* to_name,unsigned int to_port,
                                  unsigned int msgSize, unsigned int timeout);
 
@@ -97,7 +97,7 @@ gras_error_t grasbw_saturate_start(const char* from_name,unsigned int from_port,
  * Ask the process 'from_name:from_port' to stop saturating the link between itself
  * and to_name:to_name.
  */
-gras_error_t grasbw_saturate_stop(const char* from_name,unsigned int from_port,
+xbt_error_t grasbw_saturate_stop(const char* from_name,unsigned int from_port,
                                 const char* to_name,unsigned int to_port);