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
rename a test in order to easily select it
[simgrid.git]
/
src
/
surf
/
cpu_cas01.cpp
diff --git
a/src/surf/cpu_cas01.cpp
b/src/surf/cpu_cas01.cpp
index
f5182c3
..
d5fb355
100644
(file)
--- a/
src/surf/cpu_cas01.cpp
+++ b/
src/surf/cpu_cas01.cpp
@@
-351,6
+351,11
@@
void CpuCas01::setPstate(int pstate_index)
m_powerPeak = new_pstate;
}
+int CpuCas01::getPstate()
+{
+ return m_pstate;
+}
+
/**********
* Action *
**********/