vm.migrate(dst);
double endTime = Msg.getClock();
Msg.info(" - End of Migration from "+ src.getName() +" to " + dst.getName()+ " (duration:" +
- String.format("%.9f", (endTime-startTime))+")");
+ String.format(java.util.Locale.ROOT, "%.9f", (endTime-startTime))+")");
}
public void main(String[] strings) throws MsgException {
public void migrate(Host host) throws HostFailureException {
Msg.info("Start migration of VM " + this.getName() + " to " + host.getName());
Msg.info(" currentLoad:" + this.currentLoad + "/ramSize:" + this.ramsize + "/dpIntensity:" + this.dpIntensity
- + "/remaining:" + String.format(java.util.Locale.US, "%.2E",this.daemon.getRemaining()));
+ + "/remaining:" + String.format(java.util.Locale.ROOT, "%.2E",this.daemon.getRemaining()));
try{
super.migrate(host);
} catch (Exception e){