X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/245565c060611ddfed5067ab4000e91e440c402c..f763697239a4ba335cfa23c29fffcd3aa2b4484d:/process.h 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;