|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread spec.harness.BenchmarkThread spec.harness.SpecJVMBenchmarkBase
public abstract class SpecJVMBenchmarkBase
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class spec.harness.BenchmarkThread |
---|
createValidityCheckFiles |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Fields inherited from interface spec.harness.SpecJVMBenchmark |
---|
FUNCTIONAL, INVALID, MULTI, SINGLE, STRESS |
Constructor Summary | |
---|---|
protected |
SpecJVMBenchmarkBase(BenchmarkResult bmResult,
int threadId)
|
Method Summary | |
---|---|
static void |
runSimple(java.lang.Class benchmarkClass,
java.lang.String[] args)
Help method that executes a benchmark one iteration. |
static void |
setupBenchmark()
This method is called before anything in the benchmark is started. |
static void |
setupIteration()
This method is called before each iteration of the benchmark is started. |
static void |
tearDownBenchmark()
This method is called after everything in the benchmark is run. |
static void |
tearDownIteration()
This method is called after each iteration in the benchmark is run. |
static java.lang.String |
testType()
Method that returns the run type of the bencmark, for example SINGLE or MULTI. |
Methods inherited from class spec.harness.BenchmarkThread |
---|
executeIteration, getArgs, getThreadId, harnessMain, run, runLoop, setInvalidStartupResult, setItResult, setPrintProgress |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected SpecJVMBenchmarkBase(BenchmarkResult bmResult, int threadId)
Method Detail |
---|
public static void setupBenchmark()
BenchmarkThread
public static void setupIteration()
BenchmarkThread
public static void tearDownIteration()
BenchmarkThread
public static void tearDownBenchmark()
BenchmarkThread
public static java.lang.String testType()
public static void runSimple(java.lang.Class benchmarkClass, java.lang.String[] args)
java.lang.NoSuchMethodException
java.lang.SecurityException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |