X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/0c4a3402a57c61218bf1d1c6d8c31f5c3e1482f9..ef1ef576d25c492dc585240b8a4b36954fc00140:/process.h?ds=inline diff --git a/process.h b/process.h index 4e6ab24..654237b 100644 --- a/process.h +++ b/process.h @@ -26,6 +26,8 @@ public: process(int argc, char* argv[]); virtual ~process(); + double get_load() const { return load; } + int run(); protected: @@ -67,7 +69,8 @@ private: bool may_receive; // true if there remains neighbors to listen for bool finalizing; // true when finalize() is running - unsigned iter; // counter of iterations + unsigned lb_iter; // counter of load-balancing iterations + unsigned comp_iter; // counter of computation iterations double prev_load_broadcast; // used to ensure that we do not send // a same information messages