Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
snake_case some parts of kernel::resource::Cpu
[simgrid.git] / src / surf / sg_platf.cpp
index e7374e5..4ecc5c4 100644 (file)
@@ -84,7 +84,7 @@ void sg_platf_new_host(simgrid::kernel::routing::HostCreationArgs* args)
   if (args->speed_trace)
     host->pimpl_cpu->set_speed_trace(args->speed_trace);
   if (args->pstate != 0)
-    host->pimpl_cpu->setPState(args->pstate);
+    host->pimpl_cpu->set_pstate(args->pstate);
   if (args->coord && strcmp(args->coord, ""))
     new simgrid::kernel::routing::vivaldi::Coords(host->pimpl_netpoint, args->coord);
 }