summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a0cf4f5)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2364
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
request->host.port = to_port;
sock = gras_socket_client(from_name,from_port);
request->host.port = to_port;
sock = gras_socket_client(from_name,from_port);
- gras_msg_rpccall(sock,240,gras_msgtype_by_name("BW request"),&request, &result);
+ DEBUG4("Ask for a BW test between %s:%d and %s:%d", from_name,from_port, to_name,to_port);
+
+ gras_msg_rpccall(sock,240,gras_msgtype_by_name("BW request"), &request, &result);
if (sec)
*sec=result->sec;
if (sec)
*sec=result->sec;
+/** \brief builds a matrix of results of bandwidth measurement */
double * amok_bw_matrix(xbt_dynar_t hosts,
int buf_size_bw, int exp_size_bw, int msg_size_bw,
double min_duration) {
double sec;
double * amok_bw_matrix(xbt_dynar_t hosts,
int buf_size_bw, int exp_size_bw, int msg_size_bw,
double min_duration) {
double sec;
- /* construct of matrixs for bandwith and Latency */
+ /* construction of matrices for bandwith and latency */
int i,j,len=xbt_dynar_length(hosts);
int i,j,len=xbt_dynar_length(hosts);