X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/459fbc28d83d5c257bb74c1450474ef2b1e05251..fce09c24b85088743448b2bd504833a3b33937f3:/src/surf/xml/surfxml_parseplatf.cpp diff --git a/src/surf/xml/surfxml_parseplatf.cpp b/src/surf/xml/surfxml_parseplatf.cpp index 8fb038afa6..f95634f31b 100644 --- a/src/surf/xml/surfxml_parseplatf.cpp +++ b/src/surf/xml/surfxml_parseplatf.cpp @@ -107,7 +107,7 @@ void parse_platform_file(const std::string& file) simgrid::s4u::Host* host = simgrid::s4u::Host::by_name_or_null(elm.second); xbt_assert(host, "Host %s undefined", elm.second.c_str()); - simgrid::surf::Cpu* cpu = host->pimpl_cpu; + simgrid::kernel::resource::Cpu* cpu = host->pimpl_cpu; cpu->set_state_profile(profile); } @@ -118,7 +118,7 @@ void parse_platform_file(const std::string& file) simgrid::s4u::Host* host = simgrid::s4u::Host::by_name_or_null(elm.second); xbt_assert(host, "Host %s undefined", elm.second.c_str()); - simgrid::surf::Cpu* cpu = host->pimpl_cpu; + simgrid::kernel::resource::Cpu* cpu = host->pimpl_cpu; cpu->set_speed_profile(profile); }