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 d38b8e03f23464c1d1090d05ccb62217150ed8f2..7d13e3385cfad1861d15c11ca4c7765a93d9ff28 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 */