Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
changing namespace for cpu_interface
[simgrid.git] / src / surf / xml / surfxml_parseplatf.cpp
index 8fb038a..f95634f 100644 (file)
@@ -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);
   }