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;
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;