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]
/
include
/
simgrid
/
Host.hpp
diff --git
a/include/simgrid/Host.hpp
b/include/simgrid/Host.hpp
index
fb2a509
..
3e82229
100644
(file)
--- a/
include/simgrid/Host.hpp
+++ b/
include/simgrid/Host.hpp
@@
-40,7
+40,8
@@
public:
simgrid::xbt::string const& getName() const { return name_; }
void on();
void off();
- e_surf_resource_state_t getState();
+ bool isOn();
+ bool isOff();
xbt_dict_t getProperties();
xbt_swag_t getProcessList();
double getCurrentPowerPeak();