Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ignore more cruft
[simgrid.git] / examples / java / surfCpuModel / Sender.java
index 5f6a47f6637d96617606f9bf1088019be4b42f84..908dac45eb41fa88477f937a3b690b214723e998 100644 (file)
@@ -25,7 +25,7 @@ public class Sender extends Process {
 
        String receiverName = args[0];
        double oldTime, curTime;
-       double computeDuration = 10000;
+       double computeDuration = 10E8;
        Task task;
 
        oldTime = Msg.getClock();
@@ -34,18 +34,6 @@ public class Sender extends Process {
        curTime = Msg.getClock();
        Msg.info("Send duration: " + (curTime - oldTime));
 
-       oldTime = curTime;
-       task = new Task("no name",computeDuration,commSizeLat);
-       task.send(receiverName);
-       curTime = Msg.getClock();
-       Msg.info("Send duration with update bandwidth: " + (curTime - oldTime));
-
-       oldTime = curTime;
-       task = new Task("no name",computeDuration,commSizeLat);
-       task.send(receiverName);
-       curTime = Msg.getClock();
-       Msg.info("Send normal duration with limited bandwidth: " + (curTime - oldTime));
-
        Msg.info("goodbye!");
     }
 }