X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fc0a76c21f0bceb0314aee5d62f785ea8009495e..d896265a56dbf34328e32566da1932835d840d27:/src/surf/cpu_cas01.hpp diff --git a/src/surf/cpu_cas01.hpp b/src/surf/cpu_cas01.hpp index 197325762c..b40cd044fd 100644 --- a/src/surf/cpu_cas01.hpp +++ b/src/surf/cpu_cas01.hpp @@ -58,7 +58,8 @@ public: double getCurrentPowerPeak(); double getPowerPeakAt(int pstate_index); int getNbPstates(); - void setPowerPeakAt(int pstate_index); + void setPstate(int pstate_index); + int getPstate(); bool isUsed(); void setStateEvent(tmgr_trace_event_t stateEvent); void setPowerEvent(tmgr_trace_event_t stateEvent);