avrora.actions
Class BenchmarkAction
java.lang.Object
avrora.actions.Action
avrora.actions.SimAction
avrora.actions.BenchmarkAction
- public class BenchmarkAction
- extends SimAction
The SimulateAction implements the bridge between the functionality
in the avrora.sim package and the entrypoint to Avrora in
avrora.Main. This class has a run() method that is
called by the main class after the options have been processed. The run()
reads in the program, processes breakpoints, profiling counters, and other
options, and begins the simulation.
|
Constructor Summary |
BenchmarkAction()
The default constructor of the BenchmarkAction class simply
creates an empty instance with the appropriate name and help string. |
|
Method Summary |
void |
run(java.lang.String[] args)
The run() method is called by the main class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HELP
public static final java.lang.String HELP
- See Also:
- Constant Field Values
REPEAT
public final Option.Long REPEAT
BenchmarkAction
public BenchmarkAction()
- The default constructor of the
BenchmarkAction class simply
creates an empty instance with the appropriate name and help string.
run
public void run(java.lang.String[] args)
throws java.lang.Exception
- The
run() method is called by the main class.
- Specified by:
run in class Action
- Parameters:
args - the command line arguments after the options have been stripped out
- Throws:
java.lang.Exception - if there is a problem loading the program, or an exception
occurs during simulation