Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename some methods of s4u::Host
[simgrid.git] / src / surf / cpu_interface.hpp
index 7a0922ad0cfd3c6bd87d8679bc3db28479739a39..032df194e025c3ca71a4ee0d40c7dba5b9166655 100644 (file)
@@ -119,10 +119,9 @@ public:
   /** @brief Get the available speed of the current Cpu */
   virtual double getAvailableSpeed();
 
-  /** @brief Get the current Cpu power peak */
-  virtual double getCurrentPowerPeak();
-
-  virtual double getPowerPeakAt(int pstate_index);
+  /** @brief Get the current Cpu computational speed */
+  virtual double getPstateSpeedCurrent();
+  virtual double getPstateSpeed(int pstate_index);
 
   virtual int getNbPStates();
   virtual void setPState(int pstate_index);