Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
further energy interface cleanups (see changelog)
[simgrid.git] / src / surf / workstation_interface.cpp
index 6b021c5..3a5472b 100644 (file)
@@ -155,9 +155,9 @@ int Workstation::getNbPstates()
   return p_cpu->getNbPstates();
 }
 
-void Workstation::setPowerPeakAt(int pstate_index)
+void Workstation::setPstate(int pstate_index)
 {
-       p_cpu->setPowerPeakAt(pstate_index);
+       p_cpu->setPstate(pstate_index);
 }
 
 xbt_dict_t Workstation::getProperties()