X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/be437b7fa306304527b4b99a22d4bd017586cd68..b4036710f1d7f435ac50328d290cb95b108d505e:/src/amok/Bandwidth/bandwidth_private.h diff --git a/src/amok/Bandwidth/bandwidth_private.h b/src/amok/Bandwidth/bandwidth_private.h index 39d71c2be4..21f39bb90c 100644 --- a/src/amok/Bandwidth/bandwidth_private.h +++ b/src/amok/Bandwidth/bandwidth_private.h @@ -16,13 +16,13 @@ #include "gras.h" #include "amok/bandwidth.h" -void amok_bw_bw_init(void); /* Must be called only once per node */ -void amok_bw_bw_join(void); /* Each process must run it */ -void amok_bw_bw_leave(void);/* Each process must run it */ +XBT_PUBLIC void amok_bw_bw_init(void); /* Must be called only once per node */ +XBT_PUBLIC void amok_bw_bw_join(void); /* Each process must run it */ +XBT_PUBLIC void amok_bw_bw_leave(void);/* Each process must run it */ -void amok_bw_sat_init(void); /* Must be called only once per node */ -void amok_bw_sat_join(void); /* Each process must run it */ -void amok_bw_sat_leave(void);/* Each process must run it */ +XBT_PUBLIC void amok_bw_sat_init(void); /* Must be called only once per node */ +XBT_PUBLIC void amok_bw_sat_join(void); /* Each process must run it */ +XBT_PUBLIC void amok_bw_sat_leave(void);/* Each process must run it */ /*** * Plain bandwidth measurement stuff @@ -35,8 +35,8 @@ void amok_bw_sat_leave(void);/* Each process must run it */ typedef struct { s_xbt_peer_t peer; /* peer+raw socket to use */ unsigned long int buf_size; - unsigned long int exp_size; unsigned long int msg_size; + unsigned long int msg_amount; double min_duration; } s_bw_request_t,*bw_request_t; @@ -60,7 +60,7 @@ typedef struct { unsigned int duration; } s_sat_request_t,*sat_request_t; -void amok_bw_sat_start(const char* from_name,unsigned int from_port, +XBT_PUBLIC void amok_bw_sat_start(const char* from_name,unsigned int from_port, const char* to_name,unsigned int to_port, unsigned int msg_size, unsigned int duration);