|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsuramadu.tests.SuramaduTestStub
This is a stubbed that demonstrates how to build a Suramadu benchmark.
PURPOSE:
DESIGN:
ASSUMPTIONS:
INPUTS:
Property | Default Value | Description |
---|---|---|
"iterations" | "1000" | |
"priority" | "250" | |
"period" | "1000" | |
"idelay" | "750" | |
"bgpriority" | "250" | |
"bgperiod" | "100" | |
"bgidelay" | "400" | |
"backgroundthreads" | "0" |
OUTPUTS:
EXAMPLES:
ORIGINS:
Nested Class Summary | |
static class |
SuramaduTestStub.TestProps
|
Field Summary | |
int |
counter
iteration counter |
MemoryType |
mt
Memory type to use |
SuramaduTestStub.TestProps |
testProps
Local data for test: generated or otherwise calculated. |
long[] |
timeArray
array for collecting timestamps during test |
ThreadType |
tt
Thread type to use. |
Constructor Summary | |
SuramaduTestStub()
constructor for test class Instantiates testProperties. |
|
SuramaduTestStub(SuramaduTestStub.TestProps props)
|
Method Summary | |
static void |
main(java.lang.String[] args)
|
void |
run()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public SuramaduTestStub.TestProps testProps
public ThreadType tt
public MemoryType mt
public long[] timeArray
public int counter
Constructor Detail |
public SuramaduTestStub() throws java.lang.Exception
java.lang.Throwable
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.Exception
public SuramaduTestStub(SuramaduTestStub.TestProps props) throws java.lang.Exception
Method Detail |
public static void main(java.lang.String[] args)
args
- the command line argumentspublic void run()
run
in interface java.lang.Runnable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |