Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a Link::get_concurrency_limit and use it in the flatifier
[simgrid.git] / src / kernel / resource / LinkImpl.hpp
index e9b43c5..f7f269f 100644 (file)
@@ -40,6 +40,8 @@ public:
   virtual void set_latency_profile(kernel::profile::Profile* profile) = 0;
   /** @brief Set the concurrency limit for this link */
   virtual void set_concurrency_limit(int limit) const = 0;
+  /** @brief Get the concurrency limit of this link */
+  virtual int get_concurrency_limit() const = 0;
 };
 
 } // namespace simgrid::kernel::resource