X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bfaf71c92e96056ef84ddcd5689a9d28031f32e2..382765519c624b7a621940637ab08b045673b05e:/examples/java/cloud/migration/XVM.java diff --git a/examples/java/cloud/migration/XVM.java b/examples/java/cloud/migration/XVM.java index 46b2dc96fa..6e3671e866 100644 --- a/examples/java/cloud/migration/XVM.java +++ b/examples/java/cloud/migration/XVM.java @@ -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){