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_interface.cpp
index 3a5472b..fc2bcde 100644 (file)
@@ -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()
 {