|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.jbenchmark.TestFeature
net.sf.jbenchmark.Test
net.sf.jbenchmark.FixedThroughputTest
A test that adds delays to ensure a constant throughput. TODO - change the algorithm to deal with tests that run longer than that required for constant throughput
| Constructor Summary | |
FixedThroughputTest()
|
|
| Method Summary | |
protected TestResult |
doRun()
Executes the test. |
void |
setThroughput(int throughtput)
Sets the throughtput (tests/second). |
| Methods inherited from class net.sf.jbenchmark.Test |
addAssertion, addFeature, addResource, doCleanup, doInitialise, finish, getFeatureContext, getResource, run, setContext |
| Methods inherited from class net.sf.jbenchmark.TestFeature |
getContext, getName, setName, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FixedThroughputTest()
| Method Detail |
public void setThroughput(int throughtput)
protected TestResult doRun()
throws java.lang.Exception
doRun in class Testjava.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||