X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/245565c060611ddfed5067ab4000e91e440c402c..79e5037d17c779e635bdbe0855c8dfa3c067c665:/process.h?ds=sidebyside diff --git a/process.h b/process.h index 5e1faa6..14d514f 100644 --- a/process.h +++ b/process.h @@ -97,6 +97,7 @@ private: static int process_counter; static double total_load_average; + static double average_load_ratio; static double load_diff_threshold; static std::atomic convergence_counter; @@ -127,6 +128,7 @@ private: double idle_duration; // how long we had nothing to compute double convergence; // date when convergence was achieved, or -1.0 + int local_convergence_counter; // number of iterations since convergence mutex_t mutex; // synchronization between threads condition_t cond;