public class BenchmarkMeasurement
extends java.lang.Thread
Constructor and Description |
---|
BenchmarkMeasurement(boolean forceBenchmark)
The constructor of this class.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getLocalSystemIdentifier()
Returns the MAC-Address local 'CanonicalHostName' to identify
on which computer this measurement were executed.
|
java.lang.Object |
getSynchronizationObject()
Gets the synchronization object, which can be used to wait until the benchmark thread has properly started
|
static boolean |
isBenchmarkRequired()
Checks if the benchmark is required.
|
void |
run()
Depending on the FileProperties this will measure the ability> of this computer to crunch numbers.
|
activeCount, checkAccess, clone, 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
public BenchmarkMeasurement(boolean forceBenchmark)
forceBenchmark
- the force benchmarkpublic void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public static java.lang.String getLocalSystemIdentifier()
public static boolean isBenchmarkRequired()
public java.lang.Object getSynchronizationObject()