java.lang.Object
PerformanceTest
measurements.suites.AllLocationsMeasurement
- public class AllLocationsMeasurement
- extends PerformanceTest
JUnit performs a suite of measurements for local interceptions
of a method using AllLocationsCrosscut.
The test can be used both in native and in runes mode.
In both native and runes mode, the test
testLocalCall calls a number of RUNS
time a void method.
If RUNES in enabled, the following measurements are meaningfull
-
testLocalCallsNormal: measure how much it takes
to call RUNS times a trapped function while extracting argument values
-
testLocalCallsFast: measure how much it takes
to call RUNS times a trapped function without retrieving the actual
arguments from the stack.
- Version:
- $Revision: 1.1.1.1 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
x1
ch.ethz.prose.Aspect x1
x2
ch.ethz.prose.Aspect x2
useProse
final boolean useProse
AllLocationsMeasurement
public AllLocationsMeasurement(java.lang.String name)
- Construct test with given name.
theMethodToCall
public void theMethodToCall()
setUp
protected void setUp()
- Set up fixture.
tearDown
protected void tearDown()
testLocalCallsNormal
public void testLocalCallsNormal()
testLocalCallsFast
public void testLocalCallsFast()
suite
public static junit.framework.Test suite()
- Test suite.