X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6dfbeafc01f45baadb4214d15cd0c703887d743e..7ef49c428ab0209965a09a36ab28b59789aaa4b5:/include/simgrid/s4u/Host.hpp diff --git a/include/simgrid/s4u/Host.hpp b/include/simgrid/s4u/Host.hpp index 31ecd57f3e..d43c985fcf 100644 --- a/include/simgrid/s4u/Host.hpp +++ b/include/simgrid/s4u/Host.hpp @@ -66,8 +66,8 @@ public: /** Retrieves the host on which the current actor is running */ static s4u::Host* current(); - simgrid::xbt::string const& name() const { return name_; } - const char* cname() { return name_.c_str(); } + simgrid::xbt::string const& getName() const { return name_; } + const char* getCname() { return name_.c_str(); } void actorList(std::vector * whereto); @@ -84,23 +84,23 @@ public: /** Returns if that host is currently down and offline */ bool isOff() { return not isOn(); } - double speed(); - int coreCount(); - xbt_dict_t properties(); - const char* property(const char* key); + double getSpeed(); + int getCoreCount(); + xbt_dict_t getProperties(); + const char* getProperty(const char* key); void setProperty(const char* key, const char* value); - void processes(std::vector * list); + void getProcesses(std::vector * list); double getPstateSpeed(int pstate_index); - int pstatesCount() const; + int getPstatesCount() const; void setPstate(int pstate_index); - int pstate(); - void attachedStorages(std::vector * storages); + int getPstate(); + void getAttachedStorages(std::vector * storages); /** Get an associative list [mount point]->[Storage] of all local mount points. * * This is defined in the platform file, and cannot be modified programatically (yet). */ - std::unordered_map const& mountedStorages(); + std::unordered_map const& getMountedStorages(); void routeTo(Host * dest, std::vector * links, double* latency); void routeTo(Host * dest, std::vector * links, double* latency);