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
untangle resource::state (ON/OFF) and VM::state (STARTED/MIGRATING/etc)
[simgrid.git]
/
src
/
s4u
/
s4u_host.cpp
diff --git
a/src/s4u/s4u_host.cpp
b/src/s4u/s4u_host.cpp
index
527dc29
..
5f7b902
100644
(file)
--- a/
src/s4u/s4u_host.cpp
+++ b/
src/s4u/s4u_host.cpp
@@
-59,7
+59,7
@@
void Host::turnOff() {
p_inferior->off();
}
bool Host::isOn() {
- return sg_host_
get_state
(p_inferior);
+ return sg_host_
is_on
(p_inferior);
}
boost::unordered_map<std::string, Storage&> &Host::mountedStorages() {