-/* Copyright (c) 2016. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2016-2018. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
import org.simgrid.msg.HostFailureException;
import org.simgrid.msg.HostNotFoundException;
import org.simgrid.msg.Msg;
-import org.simgrid.msg.NativeException;
import org.simgrid.msg.Process;
import org.simgrid.msg.Task;
import org.simgrid.msg.TaskCancelledException;
Msg.info("Current power peak="+ currentPeak);
// Run a second task
- new Task("t1", workload, 0).execute();;
+ new Task("t1", workload, 0).execute();
taskTime = Msg.getClock() - taskTime;
Msg.info("Task2 simulation time: "+ taskTime);
}
}
- PstateRunner(Host host, String name, String[] args) throws NativeException {
+ PstateRunner(Host host, String name, String[] args) {
super(host, name, args);
}