X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7ef49c428ab0209965a09a36ab28b59789aaa4b5..6325e7c528bcaff5a625184cf6a888f8151e494a:/include/simgrid/s4u/Host.hpp diff --git a/include/simgrid/s4u/Host.hpp b/include/simgrid/s4u/Host.hpp index d43c985fcf..30c932e298 100644 --- a/include/simgrid/s4u/Host.hpp +++ b/include/simgrid/s4u/Host.hpp @@ -6,11 +6,11 @@ #ifndef SIMGRID_S4U_HOST_HPP #define SIMGRID_S4U_HOST_HPP +#include #include #include #include "xbt/Extendable.hpp" -#include "xbt/dict.h" #include "xbt/signal.hpp" #include "xbt/string.hpp" #include "xbt/swag.h" @@ -86,9 +86,9 @@ public: double getSpeed(); int getCoreCount(); - xbt_dict_t getProperties(); + std::map* getProperties(); const char* getProperty(const char* key); - void setProperty(const char* key, const char* value); + void setProperty(std::string key, std::string value); void getProcesses(std::vector * list); double getPstateSpeed(int pstate_index); int getPstatesCount() const;