Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Give users a way to debug their barriers
[simgrid.git] / include / simgrid / s4u / Barrier.hpp
index 1e5e589..547f5d8 100644 (file)
@@ -34,6 +34,8 @@ public:
   static BarrierPtr create(unsigned int expected_actors);
   /** Blocks into the barrier. Every waiting actors will be unlocked once the expected amount of actors reaches the barrier */
   int wait();
+  /** Returns some debug information about the barrier */
+  std::string to_string();
 
 #ifndef DOXYGEN
   /* refcounting */