Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename a test in order to easily select it
[simgrid.git] / src / surf / workstation_interface.hpp
index 4c39287..63943e4 100644 (file)
@@ -137,7 +137,7 @@ public:
 class Workstation : public Resource {
 public:
   /**
-   * @brief Workstation consrtuctor
+   * @brief Workstation constructor
    */
   Workstation();
 
@@ -238,6 +238,7 @@ public:
   virtual double getPowerPeakAt(int pstate_index);
   virtual int getNbPstates();
   virtual void setPstate(int pstate_index);
+  virtual int  getPstate();
 
   /**
    * @brief Return the storage of corresponding mount point