X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4a201b7ceece70d2bc461ac48c8b746a36d07243..e9df5208ecf3950c187334524993d8466dc07810:/include/amok/bandwidth.h diff --git a/include/amok/bandwidth.h b/include/amok/bandwidth.h index 8042239dab..6f5ff0ba40 100644 --- a/include/amok/bandwidth.h +++ b/include/amok/bandwidth.h @@ -1,6 +1,7 @@ /* amok_bandwidth - Bandwidth test facilities */ -/* Copyright (c) 2003-2005 Martin Quinson. All rights reserved. */ +/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. The SimGrid Team. + * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -30,7 +31,7 @@ * when the sender and receiver processor architecture are different, * inducing extra delays. For this, GRAS provide the so-called measurement * sockets. On them, you can send raw data which is not converted (see - * \ref GRAS_sock_meas). + * \ref XBT_sock_meas). * * Solving all these problems is quite error prone and anoying, so we * implemented this in the current module so that you don't have to do it @@ -90,7 +91,7 @@ XBT_PUBLIC(void) amok_bw_init(void); XBT_PUBLIC(void) amok_bw_exit(void); -XBT_PUBLIC(void) amok_bw_test(gras_socket_t peer, +XBT_PUBLIC(void) amok_bw_test(xbt_socket_t peer, unsigned long int buf_size, unsigned long int msg_size, unsigned long int msg_amount, @@ -98,8 +99,8 @@ XBT_PUBLIC(void) amok_bw_test(gras_socket_t peer, /*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 int from_port, + const char *to_name, unsigned int to_port, unsigned long int buf_size, unsigned long int msg_size, unsigned long int msg_amount, @@ -108,7 +109,8 @@ XBT_PUBLIC(void) amok_bw_request(const char *from_name, 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); + int msg_amount_bw, + double min_duration); /* *************************************************************************** * Link saturation @@ -126,7 +128,8 @@ XBT_PUBLIC(void) amok_bw_saturate_begin(const char *to_name, unsigned int to_port, unsigned int msg_size, double duration, - /*out */ double *elapsed, double *bw); + /*out */ double *elapsed, + double *bw); XBT_PUBLIC(void) amok_bw_saturate_stop(const char *from_name, unsigned int from_port, @@ -134,4 +137,4 @@ XBT_PUBLIC(void) amok_bw_saturate_stop(const char *from_name, /** @} */ -#endif /* AMOK_BANDWIDTH_H */ +#endif /* AMOK_BANDWIDTH_H */