comm.data_flush(false);
- if (real_load == 0.0)
- continue;
-
// send
std::for_each(neigh.begin(), neigh.end(),
bind(&process::data_send, this, _1));
+ if (real_load == 0.0)
+ continue;
+
// compute
++comp_iter;
double flops = opt::comp_cost(real_load);
if (!last_status) {
/* nop */
+ } else if (opt::exit_request) {
+ XBT_VERB("Global exit requested");
+ 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;