X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b7630a950a6b865fcc195c58e39e6c3cfa550ccb..6badbbf58554a35b03f58509b0b18cf606c38f5e:/include/simgrid/Host.hpp diff --git a/include/simgrid/Host.hpp b/include/simgrid/Host.hpp index fb2a5090f7..3e82229ddf 100644 --- 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();