int hostCount = args.length;
Msg.info("host count: " + hostCount);
- String mailboxes[] = new String[hostCount];
+ String[] mailboxes = new String[hostCount];
double time;
double computeDuration = 0;
PingPongTask ping;
ping.send(mailboxes[pos]);
Trace.hostPushState (getHost().getName(), PM_STATE, "waitingPong");
- PingPongTask pong = (PingPongTask)Task.receive(getHost().getName());
+ Task.receive(getHost().getName());
double timeGot = Msg.getClock();
double timeSent = ping.getTime();
double communicationTime;