Class Benchmark
java.lang.Object
EDU.purdue.cs.bloat.benchmark.Benchmark
This class is used to run a benchmark Java program with Perfmon running in
the background. Perfmon is a software package developed at Michigan State
University that allows user-level programs to access the hardware counters on
Sparc processors.
The main method of this class takes several arguments (note that the first four arguments are mutually exclusive):
-inst-load-stall Count load interlock induced stalls -dcache Count data cache hit rate -cycle-ic-miss-stall Count I-cache miss induced stalls (and cycles) -inst-cycle Count instructions (and cycles) -run n How many times is the program run class Java class to run (the benchmark) args Arguments to benchmark classThe real work is done by the native run method that is implemented in benchmark.c.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Benchmark
public Benchmark()
-
-
Method Details
-
init
-
run
-
setMode
public static void setMode(int mode) -
main
-