All Packages Class Hierarchy This Package Previous Next Index
Class spec.harness.SpecJava
spec.harness.SpecJava
- public class SpecJava
- implements BenchmarkDone
SpecJava class defines the harness environment within which various
benchmarks are executed. It displays results, generates reports, and
creates an interface to choose benchmarks for execution. This class
implements the BenchmarkDone interface, which has a method benchmarkdone().
The Benchmarks call this method once they finish the execution.
- See Also:
- BenchmarkDone, BenchmarkDone
-
autoRun
- Flag indicating, whether the benchmarks are being run in automode or not.
-
NUM_ITER
-
-
standalone
-
-
SpecJava()
-
Default constructor for the SpecJava class
-
benchmarkDone(String, Properties)
-
This method is called by the programmer runner class after finishing the
benchmark.
-
benchmarkPrint(String)
-
This method is called by program runner after finishing the benchmark.
-
handleEvent(Event)
- This is the callback function for the buttons in the applet
-
init(Applet, boolean)
-
init method of the applet.
-
initPart2()
- Initialization is divided into 2 parts.
-
qualifyFileName(String)
- converts filenames to URL's.
-
start()
-
-
stop()
-
autoRun
public boolean autoRun
- Flag indicating, whether the benchmarks are being run in automode or not.
- See Also:
- autoRunButton_Clicked
standalone
public static boolean standalone
NUM_ITER
protected int NUM_ITER
SpecJava
public SpecJava()
- Default constructor for the SpecJava class
start
public void start()
stop
public void stop()
handleEvent
public boolean handleEvent(Event event)
- This is the callback function for the buttons in the applet
init
public void init(Applet applet,
boolean standalone)
- init method of the applet. Loads the benchmark groups. Get the property
files. The mode or running the SpecJVMClient.
initPart2
public void initPart2()
- Initialization is divided into 2 parts. Part1 display some dialogs and
part2 which shows the benchmark lists available and the buttons to select
them and run them.
qualifyFileName
public String qualifyFileName(String unqualified)
- converts filenames to URL's.
benchmarkPrint
public void benchmarkPrint(String s)
- This method is called by program runner after finishing the benchmark.
This is a method of BenchmarkDone interface.
- See Also:
- BenchmarkDone, ProgramRunner
benchmarkDone
public void benchmarkDone(String className,
Properties results)
- This method is called by the programmer runner class after finishing the
benchmark. The results are mailed to the specified address if
SpecJVMClient98 is running in the non-interactive mode. In the Interactive
mode of operation. The next benchmark from the selection list is started.
"Ver XX Finished" will be displayed if all the benchmarks in the selection
list were finished
All Packages Class Hierarchy This Package Previous Next Index