X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/fb7c087879f5cfc2657a4fc04847106b5f75c122..9f84b4517edbbcab8263c968b34b562573edb5b6:/process.h?ds=inline diff --git a/process.h b/process.h index 3e912f0..926bf1f 100644 --- a/process.h +++ b/process.h @@ -110,6 +110,9 @@ private: bool still_running(); + // Returns the sum of "to_send" for all neighbors. + double get_sum_of_to_send() const; + // Send procedures void ctrl_send(neighbor& nb); void data_send(neighbor& nb);