X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a1fcc0c0597c993b03448f6244bbdfef3c6850e4..8a0e2b82a1c0981a84e67f1bb4afb6e16fbf8c3a:/src/surf/xml/surfxml_parseplatf.cpp diff --git a/src/surf/xml/surfxml_parseplatf.cpp b/src/surf/xml/surfxml_parseplatf.cpp index 0524b4dc23..e3cb42bd64 100644 --- a/src/surf/xml/surfxml_parseplatf.cpp +++ b/src/surf/xml/surfxml_parseplatf.cpp @@ -109,7 +109,7 @@ void parse_platform_file(const char *file) xbt_assert(host, "Host %s undefined", elm.second.c_str()); simgrid::surf::Cpu* cpu = host->pimpl_cpu; - cpu->setStateTrace(trace); + cpu->set_state_trace(trace); } for (auto const& elm : trace_connect_list_host_speed) { @@ -129,7 +129,7 @@ void parse_platform_file(const char *file) sg_link_t link = simgrid::s4u::Link::by_name(elm.second.c_str()); xbt_assert(link, "Link %s undefined", elm.second.c_str()); - link->setStateTrace(trace); + link->set_state_trace(trace); } for (auto const& elm : trace_connect_list_link_bw) { @@ -137,7 +137,7 @@ void parse_platform_file(const char *file) tmgr_trace_t trace = traces_set_list.at(elm.first); sg_link_t link = simgrid::s4u::Link::by_name(elm.second.c_str()); xbt_assert(link, "Link %s undefined", elm.second.c_str()); - link->setBandwidthTrace(trace); + link->set_bandwidth_trace(trace); } for (auto const& elm : trace_connect_list_link_lat) { @@ -145,7 +145,7 @@ void parse_platform_file(const char *file) tmgr_trace_t trace = traces_set_list.at(elm.first); sg_link_t link = simgrid::s4u::Link::by_name(elm.second.c_str()); xbt_assert(link, "Link %s undefined", elm.second.c_str()); - link->setLatencyTrace(trace); + link->set_latency_trace(trace); } surf_parse_close();