XBT_INFO("(%u:%u) current load: %g", lb_iter, comp_iter, real_load);
XBT_VERB("... expected load: %g", expected_load);
}
XBT_INFO("(%u:%u) current load: %g", lb_iter, comp_iter, real_load);
XBT_VERB("... expected load: %g", expected_load);
}
double next_iter_after_date = MSG_get_clock() + opt::min_comp_iter_duration;
while (still_running()) {
// receive
double next_iter_after_date = MSG_get_clock() + opt::min_comp_iter_duration;
while (still_running()) {
// receive
std::for_each(neigh.begin(), neigh.end(),
bind(&process::data_send, this, _1));
std::for_each(neigh.begin(), neigh.end(),
bind(&process::data_send, this, _1));
} else if (opt::time_limit && MSG_get_clock() >= opt::time_limit) {
XBT_VERB("Reached time limit: %g/%g", MSG_get_clock(), opt::time_limit);
last_status = false;
} else if (opt::time_limit && MSG_get_clock() >= opt::time_limit) {
XBT_VERB("Reached time limit: %g/%g", MSG_get_clock(), opt::time_limit);
last_status = false;