A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New: MSG_host_get_pstate() and smpi_get_host_pstate()
[simgrid.git]
/
src
/
surf
/
workstation_interface.cpp
diff --git
a/src/surf/workstation_interface.cpp
b/src/surf/workstation_interface.cpp
index
3a5472b
..
fc2bcde
100644
(file)
--- 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()
{