X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dfbc5d5fae985c21b9f6a36c729f9f87f098540b..d182c41b753fd4de1dc9b1e9923ea2034dbcdaac:/src/surf/network.c diff --git a/src/surf/network.c b/src/surf/network.c index a6512e801d..cdaddf0f51 100644 --- a/src/surf/network.c +++ b/src/surf/network.c @@ -804,7 +804,7 @@ static surf_action_t net_communicate(const char *src_name, if(network_update_mechanism == UM_LAZY){ // add to the heap the event when the latency is payed XBT_DEBUG("Added action (%p) one latency event at date %f", action, action->latency + action->last_update); - heap_insert(action, action->latency + action->last_update, LATENCY); + heap_insert(action, action->latency + action->last_update, xbt_dynar_is_empty(route)?NORMAL:LATENCY); } } else action->variable = @@ -1107,14 +1107,9 @@ void surf_network_model_init_SMPI(void) /* } */ void surf_network_model_init_LegrandVelho(void) { - char *model = xbt_cfg_get_string(_surf_cfg_set, "network/model"); - if (surf_network_model) return; - if(!strcmp(model,"LV08_fullupdate")) { - XBT_WARN("[*Deprecated*. Use --cfg=network/model:LV08 with option --cfg=network/optim:Full instead.]"); - } set_update_mechanism(); surf_network_model_init_internal();