import org.simgrid.msg.HostNotFoundException;
public class Sender extends Process {
- private final double commSizeLat = 1;
- final double commSizeBw = 100000000;
+ private static final double COMM_SIZE_LAT = 1;
public Sender(String hostname, String name, String[] args) throws HostNotFoundException, NativeException {
super(hostname,name,args);
Msg.info("sender time: " + time);
- task = new PingPongTask("no name",computeDuration,commSizeLat);
+ task = new PingPongTask("no name",computeDuration,COMM_SIZE_LAT);
task.setTime(time);
task.send(mailboxes[pos]);