X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/878020909e91d141e57373397d8dede76c5fde03..e98908d4e3ea9f355370a4f0a9db15b9593b7eb1:/include/simgrid/Host.hpp diff --git a/include/simgrid/Host.hpp b/include/simgrid/Host.hpp index d8d68c83fe..0460df64c1 100644 --- a/include/simgrid/Host.hpp +++ b/include/simgrid/Host.hpp @@ -13,9 +13,12 @@ #include #include +#include +#include #include #include +#include namespace simgrid { @@ -37,6 +40,18 @@ public: simgrid::xbt::string const& getName() const { return name_; } void on(); void off(); + xbt_dict_t getProperties(); + xbt_swag_t getProcessList(); + double getCurrentPowerPeak(); + double getPowerPeakAt(int pstate_index); + void setPstate(int pstate_index); + double getWattMinAt(int pstate); + double getWattMaxAt(int pstate); + void getParams(vm_params_t params); + void setParams(vm_params_t params); + xbt_dict_t getMountedStorageList(); + xbt_dynar_t getAttachedStorageList(); + static Host* by_name_or_null(const char* name); static Host* by_name_or_create(const char* name); };