X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/5a4a8663668a3af89fe7c4026d08f3e0fb144f05..4875a2f2ad219d4f1ebd94b39d86272177760567:/process.cpp diff --git a/process.cpp b/process.cpp index 54573d3..9959376 100644 --- a/process.cpp +++ b/process.cpp @@ -44,6 +44,8 @@ process::process(int argc, char* argv[]) close_received = false; finalizing = false; + comp_iter = lb_iter = 0; + e_xbt_log_priority_t logp = xbt_log_priority_verbose; if (!LOG_ISENABLED(logp)) return; @@ -81,7 +83,6 @@ int process::run() double next_iter_after_date = 0.0; INFO1("Initial load: %g", real_load); VERB0("Starting..."); - comp_iter = lb_iter = 0; while (true) { if (get_load() > 0.0) { double now = MSG_get_clock();