summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f8daec4)
The rationale here is that there is no need to go too fast if real_load == 0.0.
while (still_running()) {
do {
while (still_running()) {
do {
- // receive (do not block if there is something to compute)
- data_receive(real_load > 0.0 ? 0.0 : opt::min_comp_iter_duration);
+ // receive
+ // if there is something to compute, do not block
+ // else, block the duration of an *lb* iteration
+ data_receive(real_load > 0.0 ? 0.0 : opt::min_lb_iter_duration);
// send
comm.data_flush(false);
// send
comm.data_flush(false);