]> AND Private Git Repository - loba.git/blobdiff - process.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Check for the existence of input files.
[loba.git] / process.h
index 5e1faa62a152f0bee9ce6f7a5dcd5920c2d50501..14d514f27841afb25df662e05bb4e277df749326 100644 (file)
--- a/process.h
+++ b/process.h
@@ -97,6 +97,7 @@ private:
 
     static int process_counter;
     static double total_load_average;
 
     static int process_counter;
     static double total_load_average;
+    static double average_load_ratio;
     static double load_diff_threshold;
 
     static std::atomic<int> convergence_counter;
     static double load_diff_threshold;
 
     static std::atomic<int> 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
 
     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;
 
     mutex_t mutex;              // synchronization between threads
     condition_t cond;