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
[DVFS] Rephrase debug statements
[simgrid.git]
/
src
/
surf
/
plugins
/
host_dvfs.cpp
diff --git
a/src/surf/plugins/host_dvfs.cpp
b/src/surf/plugins/host_dvfs.cpp
index
589dfed
..
b94c995
100644
(file)
--- a/
src/surf/plugins/host_dvfs.cpp
+++ b/
src/surf/plugins/host_dvfs.cpp
@@
-112,7
+112,10
@@
public:
if (load > freq_up_threshold) {
if (pstate != 0) {
host->setPstate(pstate - 1);
if (load > freq_up_threshold) {
if (pstate != 0) {
host->setPstate(pstate - 1);
- XBT_INFO("Reducing pstate to %d", pstate - 1);
+ XBT_INFO("Increasing performance to pstate %d", pstate - 1);
+ }
+ else {
+ XBT_DEBUG("Cannot speed up even more, already in slowest pstate %d", pstate);
}
}
}
}
@@
-120,7
+123,10
@@
public:
int max_pstate = host->getPstatesCount() - 1;
if (pstate != max_pstate) { // Are we in the slowest pstate already?
host->setPstate(pstate + 1);
int max_pstate = host->getPstatesCount() - 1;
if (pstate != max_pstate) { // Are we in the slowest pstate already?
host->setPstate(pstate + 1);
- XBT_INFO("Increasing pstate to %d", pstate + 1);
+ XBT_INFO("Slowing down to pstate %d", pstate + 1);
+ }
+ else {
+ XBT_DEBUG("Cannot slow down even more, already in slowest pstate %d", pstate);
}
}
}
}
}
}