Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
revalidate yet another tesh output
[simgrid.git] / examples / java / cloud / migration / XVM.java
index 46b2dc9..6e3671e 100644 (file)
@@ -68,7 +68,8 @@ public class XVM extends VM {
 
     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:" + this.daemon.getRemaining());
+        Msg.info("    currentLoad:" + this.currentLoad + "/ramSize:" + this.ramsize + "/dpIntensity:" + this.dpIntensity 
+                       + "/remaining:" + String.format(java.util.Locale.US, "%.2E",this.daemon.getRemaining()));
         try{
                super.migrate(host);
        } catch (Exception e){