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 =
/* } */
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();