Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
small sonar fixes
[simgrid.git] / src / kernel / activity / BarrierImpl.hpp
index e34ba73..083b874 100644 (file)
@@ -74,6 +74,11 @@ public:
   }
 
   s4u::Barrier& get_iface() { return piface_; }
+
+  std::string to_string() const
+  {
+    return xbt::string_printf("Barrier %u: %zu of %u", id_, ongoing_acquisitions_.size(), expected_actors_);
+  }
 };
 } // namespace activity
 } // namespace kernel