X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d59d27482febdeebb55fcc3e116f5b9305771bb9..9072f634ac2f4bdece800197ad4ad73ec96fd1d8:/src/surf/workstation_interface.cpp diff --git a/src/surf/workstation_interface.cpp b/src/surf/workstation_interface.cpp index 3a5472be10..fc2bcde5e2 100644 --- a/src/surf/workstation_interface.cpp +++ b/src/surf/workstation_interface.cpp @@ -159,6 +159,10 @@ void Workstation::setPstate(int pstate_index) { p_cpu->setPstate(pstate_index); } +int Workstation::getPstate() +{ + return p_cpu->getPstate(); +} xbt_dict_t Workstation::getProperties() {