X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/419141e31ab0b62ff691f22fc08b49293fb180b4..fb16a823471f1284f6ea9162e9829b3d91ad49d0:/src/surf/surf_c_bindings.cpp diff --git a/src/surf/surf_c_bindings.cpp b/src/surf/surf_c_bindings.cpp index 795f61fa74..6ea7968267 100644 --- a/src/surf/surf_c_bindings.cpp +++ b/src/surf/surf_c_bindings.cpp @@ -26,10 +26,6 @@ static VM *get_casted_vm(surf_resource_t resource){ return static_cast(surf_host_resource_priv(resource)); } -char *surf_routing_edge_name(sg_routing_edge_t edge){ - return edge->getName(); -} - extern double NOW; void surf_presolve(void) @@ -41,8 +37,8 @@ void surf_presolve(void) Model *model = NULL; unsigned int iter; - XBT_DEBUG - ("First Run! Let's \"purge\" events and put models in the right state"); + XBT_DEBUG ("First Run! Let's \"purge\" events and put models in the right state"); + while ((next_event_date = tmgr_history_next_date(history)) != -1.0) { if (next_event_date > NOW) break;