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 class
The real work is done by the native run method that is implemented
in benchmark.c.
See Also: BenchmarkSecurityManager |