Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New: MSG_host_get_pstate() and smpi_get_host_pstate()
[simgrid.git] / src / surf / workstation_ptask_L07.hpp
index 39cb5fe..dc94987 100644 (file)
@@ -111,6 +111,7 @@ public:
   double getPowerPeakAt(int pstate_index);
   int getNbPstates();
   void setPstate(int pstate_index);
+  int  getPstate();
   double getConsumedEnergy();
 };
 
@@ -132,6 +133,7 @@ public:
   double getPowerPeakAt(int /*pstate_index*/) {THROW_UNIMPLEMENTED;};
   int getNbPstates() {THROW_UNIMPLEMENTED;};
   void setPstate(int /*pstate_index*/) {THROW_UNIMPLEMENTED;};
+  int  getPstate() {THROW_UNIMPLEMENTED;};
   double getConsumedEnergy() {THROW_UNIMPLEMENTED;};
 };