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
smells--
[simgrid.git]
/
examples
/
msg
/
energy-pstate
/
energy-pstate.c
diff --git
a/examples/msg/energy-pstate/energy-pstate.c
b/examples/msg/energy-pstate/energy-pstate.c
index
ff9e2e7
..
fc055b7
100644
(file)
--- a/
examples/msg/energy-pstate/energy-pstate.c
+++ b/
examples/msg/energy-pstate/energy-pstate.c
@@
-19,7
+19,7
@@
static int dvfs(int argc, char *argv[])
{
double workload = 100E6;
int new_peak_index=2;
- msg_host_t host = MSG_host_self();
; //MSG_get_host_by_name("MyHost1");
+ msg_host_t host = MSG_host_self();
int nb = MSG_host_get_nb_pstates(host);
XBT_INFO("Count of Processor states=%d", nb);