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);
+}
+int Workstation::getPstate()
+{
+ return p_cpu->getPstate();
}
xbt_dict_t Workstation::getProperties()