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