Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a way to set a property on s4u::Host
[simgrid.git] / include / simgrid / s4u / host.hpp
index d51eda4..04ce05e 100644 (file)
@@ -70,6 +70,8 @@ public:
   double speed();
   int core_count();
   xbt_dict_t properties();
+  const char*property(const char*key);
+  void setProperty(const char*key, const char *value);
   xbt_swag_t processes();
   double currentPowerPeak();
   double powerPeakAt(int pstate_index);
@@ -110,9 +112,7 @@ public:
 }} // namespace simgrid::s4u
 
 extern int MSG_HOST_LEVEL;
-extern int SD_HOST_LEVEL;
 extern int SIMIX_HOST_LEVEL;
-extern int ROUTING_HOST_LEVEL;
 extern int USER_HOST_LEVEL;
 
 #endif /* SIMGRID_S4U_HOST_HPP */