Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
really remove the previously commented code
authorAugustin Degomme <degomme@idpann.imag.fr>
Fri, 21 Sep 2012 10:26:35 +0000 (12:26 +0200)
committerAugustin Degomme <degomme@idpann.imag.fr>
Fri, 21 Sep 2012 16:07:44 +0000 (18:07 +0200)
src/surf/network.c

index 78a4dee..d5b647e 100644 (file)
@@ -672,8 +672,7 @@ static void smpi_gap_append(double size, const link_CM02_t link,
           xbt_fifo_get_item_content(xbt_fifo_get_last_item(fifo));
       bw = net_get_link_bandwidth(link);
       action->sender.gap =
-          /*last_action->sender.gap +*/ max(sg_sender_gap,
-                                        last_action->sender.size / bw);
+          max(sg_sender_gap,last_action->sender.size / bw);
       action->latency += action->sender.gap;
     }
     /* Append action as last send */