X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d569ce424f3d391953106a9aaf7fff31ab865912..7115f40452d0798fc920253f50aee208ea0588c2:/src/surf/surf_private.h diff --git a/src/surf/surf_private.h b/src/surf/surf_private.h index 17bd311d2f..c1ba50657e 100644 --- a/src/surf/surf_private.h +++ b/src/surf/surf_private.h @@ -17,6 +17,12 @@ #define NO_MAX_DURATION -1.0 +typedef enum { + UM_FULL, + UM_LAZY, + UM_UNDEFINED, +} e_UM_t; + /* user-visible parameters */ extern double sg_tcp_gamma; extern double sg_sender_gap; @@ -24,7 +30,7 @@ extern double sg_latency_factor; extern double sg_bandwidth_factor; extern double sg_weight_S_parameter; extern int sg_maxmin_selective_update; -extern int sg_network_fullduplex; +extern int sg_network_crosstraffic; #ifdef HAVE_GTNETS extern double sg_gtnets_jitter; extern int sg_gtnets_jitter_seed; @@ -69,12 +75,12 @@ void surf_config_init(int *argc, char **argv); void surf_config_finalize(void); void surf_config(const char *name, va_list pa); -void net_action_recycle(surf_action_t action); -double net_action_get_remains(surf_action_t action); +void im_net_action_recycle(surf_action_t action); +double im_net_action_get_remains(surf_action_t action); #ifdef HAVE_LATENCY_BOUND_TRACKING int net_get_link_latency_limited(surf_action_t action); #endif -void net_action_set_max_duration(surf_action_t action, double duration); +void im_net_action_set_max_duration(surf_action_t action, double duration); /* * Returns the initial path. On Windows the initial path is * the current directory for the current process in the other