X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e98908d4e3ea9f355370a4f0a9db15b9593b7eb1..a23283368258c196be2e66730a7d691f313ef315:/include/simgrid/Host.hpp diff --git a/include/simgrid/Host.hpp b/include/simgrid/Host.hpp index 0460df64c1..42fa5ec1da 100644 --- a/include/simgrid/Host.hpp +++ b/include/simgrid/Host.hpp @@ -38,8 +38,10 @@ public: Host(std::string const& name); ~Host(); simgrid::xbt::string const& getName() const { return name_; } - void on(); - void off(); + void turnOn(); + void turnOff(); + bool isOn(); + bool isOff(); xbt_dict_t getProperties(); xbt_swag_t getProcessList(); double getCurrentPowerPeak();