org.jbox2d.testbed.perf
Class PoolingPerf
java.lang.Object
org.jbox2d.profile.BasicPerformanceTest
org.jbox2d.testbed.perf.PoolingPerf
public class PoolingPerf
- extends org.jbox2d.profile.BasicPerformanceTest
- Author:
- Daniel Murphy
Fields inherited from class org.jbox2d.profile.BasicPerformanceTest |
times |
Methods inherited from class org.jbox2d.profile.BasicPerformanceTest |
getFrames, getTestTime, go, printf, println, printResults |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INNER_ITERS
public static final int INNER_ITERS
- See Also:
- Constant Field Values
OUTER_ITERS
public static final int OUTER_ITERS
- See Also:
- Constant Field Values
tests
public java.lang.String[] tests
aStore
public float aStore
wp
public org.jbox2d.pooling.IWorldPool wp
cp
public PoolingPerf.CirclePool cp
tlv
public PoolingPerf.TLVec2 tlv
mv
public org.jbox2d.common.Vec2 mv
stack
public PoolingPerf.CustStack stack
PoolingPerf
public PoolingPerf()
- Parameters:
argNumTests
- argIters
-
op
public float op(org.jbox2d.common.Vec2 argVec)
runTest
public void runTest(int argNum)
- Specified by:
runTest
in class org.jbox2d.profile.BasicPerformanceTest
- See Also:
org.jbox2d.testbed.perf.BasicPerformanceTest#runTest(int)
runCreationTest
public void runCreationTest()
runWorldPoolTest
public void runWorldPoolTest()
runCirclePoolTest
public void runCirclePoolTest()
runThreadLocalTest
public void runThreadLocalTest()
runCustStackTest
public void runCustStackTest()
runMemberTest
public void runMemberTest()
getTestName
public java.lang.String getTestName(int argNum)
- Specified by:
getTestName
in class org.jbox2d.profile.BasicPerformanceTest
- See Also:
org.jbox2d.testbed.perf.BasicPerformanceTest#getTestName(int)
main
public static void main(java.lang.String[] c)
Copyright © 2013. All Rights Reserved.