X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5193d31089b0e9d2a564d425f61fdbc27e01af60..19b3962253112b19308537bc2400de141c119d99:/src/surf/instr_routing.cpp diff --git a/src/surf/instr_routing.cpp b/src/surf/instr_routing.cpp index 6c4a48483e..0cac8619d4 100644 --- a/src/surf/instr_routing.cpp +++ b/src/surf/instr_routing.cpp @@ -119,8 +119,8 @@ static void linkContainers (container_t src, container_t dst, xbt_dict_t filter) snprintf (key, INSTR_DEFAULT_STR_SIZE, "%lld", counter); counter++; - new_pajeStartLink(SIMIX_get_clock(), father, link_type, src, "topology", key); - new_pajeEndLink(SIMIX_get_clock(), father, link_type, dst, "topology", key); + new StartLinkEvent(SIMIX_get_clock(), father, link_type, src, "topology", key); + new EndLinkEvent(SIMIX_get_clock(), father, link_type, dst, "topology", key); XBT_DEBUG (" linkContainers %s <-> %s", src->name, dst->name); } @@ -222,8 +222,8 @@ static void instr_routing_parse_start_link(simgrid::s4u::Link& link) if (latency == nullptr) { latency = PJ_type_variable_new("latency", nullptr, container->type); } - new_pajeSetVariable(0, container, bandwidth, bandwidth_value); - new_pajeSetVariable(0, container, latency, latency_value); + new SetVariableEvent(0, container, bandwidth, bandwidth_value); + new SetVariableEvent(0, container, latency, latency_value); } if (TRACE_uncategorized()) { type_t bandwidth_used = PJ_type_get_or_null("bandwidth_used", container->type); @@ -245,7 +245,7 @@ void sg_instr_new_host(simgrid::s4u::Host& host) } double current_speed_state = host.speed(); - new_pajeSetVariable (0, container, speed, current_speed_state); + new SetVariableEvent (0, container, speed, current_speed_state); } if (TRACE_uncategorized()){ type_t speed_used = PJ_type_get_or_null ("power_used", container->type);