Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix remaining warnings with mingw.
[simgrid.git] / include / simgrid / s4u / Host.hpp
index 9f9ef0c..889419c 100644 (file)
@@ -113,8 +113,11 @@ public:
    */
   void execute(double flops);
 
+  /** @brief Returns the current computation load (in flops per second) */
+  double getLoad();
+
 private:
-  simgrid::xbt::string name_ = "noname";
+  simgrid::xbt::string name_{"noname"};
   std::unordered_map<std::string, Storage*>* mounts = nullptr; // caching
 
 public: