A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
revalidate yet another tesh output
[simgrid.git]
/
examples
/
java
/
cloud
/
migration
/
XVM.java
diff --git
a/examples/java/cloud/migration/XVM.java
b/examples/java/cloud/migration/XVM.java
index
46b2dc9
..
6e3671e
100644
(file)
--- 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());
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){
try{
super.migrate(host);
} catch (Exception e){