X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5bcb2953d5a0cc02aa2004a429f126541cb760df..5397eadb7c0c0482c2a0e658f772d3c165f4a44a:/src/surf/workstation_interface.cpp diff --git a/src/surf/workstation_interface.cpp b/src/surf/workstation_interface.cpp index 6b021c5b5f..3a5472be10 100644 --- a/src/surf/workstation_interface.cpp +++ b/src/surf/workstation_interface.cpp @@ -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()