Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SURF/S4U] Rename Cpu::getCore() to Cpu::getCoreCount()
[simgrid.git] / src / s4u / s4u_host.cpp
index d38b8e0..7d13e33 100644 (file)
@@ -165,7 +165,7 @@ double Host::speed() {
 }
 /** @brief Returns the number of core of the processor. */
 int Host::coresCount() {
-  return pimpl_cpu->getCore();
+  return pimpl_cpu->getCoreCount();
 }
 
 /** @brief Set the pstate at which the host should run */