|
||||||||||
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
public abstract class BenchmarkThread
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
static boolean |
createValidityCheckFiles
SpecJava can be run as application to create the validity files. |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Method Summary | |
---|---|
boolean |
executeIteration()
|
java.lang.String[] |
getArgs()
|
int |
getThreadId()
|
abstract void |
harnessMain()
Starts the benchmark. |
void |
run()
|
LoopResult |
runLoop(IterationResult iResult)
Runs the benchmark one loop. |
void |
setInvalidStartupResult(BenchmarkResult invalidBenchmarkResult,
IterationResult invalidIterationResult)
|
void |
setItResult(IterationResult itResult)
|
void |
setPrintProgress(boolean printProgress)
|
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 |
Field Detail |
---|
public static boolean createValidityCheckFiles
Method Detail |
---|
public int getThreadId()
public java.lang.String[] getArgs()
public void setItResult(IterationResult itResult)
public void setPrintProgress(boolean printProgress)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void setInvalidStartupResult(BenchmarkResult invalidBenchmarkResult, IterationResult invalidIterationResult)
public boolean executeIteration()
public LoopResult runLoop(IterationResult iResult)
public abstract void harnessMain()
ProgramRunner
,
BenchmarkThread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |