1 /* Copyright (c) 2016. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
8 import org.simgrid.msg.Host;
9 import org.simgrid.msg.HostNotFoundException;
10 import org.simgrid.msg.Msg;
14 throw new IllegalAccessError("Utility class");
17 public static void main(String[] args) throws HostNotFoundException {
21 if (args.length < 1) {
22 Msg.info("Usage: Main ../platforms/energy_platform_file.xml");
26 /* construct the platform */
27 Msg.createEnvironment(args[0]);
29 /* Create and start a runner for the experiment */
30 new PstateRunner(Host.all()[0],"pstate runner",null).start();