]> AND Public Git Repository - simgrid.git/blobdiff - examples/java/cloud/migration/Daemon.java
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sometimes, maxdims is too much
[simgrid.git] / examples / java / cloud / migration / Daemon.java
index 55d825ceb188d97d18e19e8053407f59bd163057..68a31f3153f57437fd86669a72cbe93d555ff553 100644 (file)
@@ -28,11 +28,11 @@ public class Daemon extends Process {
                 suspend(); // Suspend the process
             }
             currentTask = new Task(this.getHost().getName()+"-daemon-"+(i++), this.getHost().getSpeed()*100, 0);
-            Msg.info(currentTask.getName());
+//            Msg.info(currentTask.getName());
         }
     }
 
     public double getRemaining(){
-        return this.currentTask.getRemainingDuration();
-    }
+        return this.currentTask.getFlopsAmount();
     }
+}