VERB0("Starting...");
comp_iter = lb_iter = 0;
while (true) {
- double ld = lb_load();
+ double ld = get_load();
if (ld > 0.0) {
double now = MSG_get_clock();
if (now < next_iter_after_date)
print_loads(true, xbt_log_priority_debug);
}
- lb_load() = ld;
+ set_load(ld);
// send load information, and load (data) if any
send_all();
// block on receiving unless there is something to compute or
// to send
double timeout;
- if (real_load != 0 || lb_load() != prev_load_broadcast)
+ if (real_load != 0 || get_load() != prev_load_broadcast)
timeout = 0.0;
else if (opt::min_iter_duration)
timeout = opt::min_iter_duration;