surf_host_model = new HostL07Model();
Model *model = surf_host_model;
xbt_dynar_push(all_existing_models, &model);
- xbt_dynar_push(model_list_invoke, &model);
}
wk = new HostL07(this, name, NULL,
sg_host_edge(sg_host),
sg_host_surfcpu(sg_host));
-
+ surf_callback_emit(hostCreatedCallbacks, wk);
xbt_lib_set(host_lib, name, SURF_HOST_LEVEL, wk);
return wk;