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();
}
+}