public class PoolingPerf extends PerfTest
Modifier and Type | Class and Description |
---|---|
static class |
PoolingPerf.CirclePool |
static class |
PoolingPerf.CustStack |
static class |
PoolingPerf.TLVec2 |
Modifier and Type | Field and Description |
---|---|
float |
aStore |
PoolingPerf.CirclePool |
cp |
static int |
INNER_ITERS |
org.jbox2d.common.Vec2 |
mv |
static int |
OUTER_ITERS |
PoolingPerf.CustStack |
stack |
java.lang.String[] |
tests |
PoolingPerf.TLVec2 |
tlv |
org.jbox2d.pooling.IWorldPool |
wp |
Constructor and Description |
---|
PoolingPerf() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTestName(int argNum) |
static void |
main(java.lang.String[] c) |
float |
op(org.jbox2d.common.Vec2 argVec) |
void |
runCirclePoolTest() |
void |
runCreationTest() |
void |
runCustStackTest() |
void |
runMemberTest() |
void |
runTest(int argNum) |
void |
runThreadLocalTest() |
void |
runWorldPoolTest() |
getFrames, getTestTime, go, printResults
public static final int INNER_ITERS
public static final int OUTER_ITERS
public java.lang.String[] tests
public float aStore
public org.jbox2d.pooling.IWorldPool wp
public PoolingPerf.CirclePool cp
public PoolingPerf.TLVec2 tlv
public org.jbox2d.common.Vec2 mv
public PoolingPerf.CustStack stack
public float op(org.jbox2d.common.Vec2 argVec)
public void runTest(int argNum)
runTest
in class PerfTest
PerfTest.runTest(int)
public void runCreationTest()
public void runWorldPoolTest()
public void runCirclePoolTest()
public void runThreadLocalTest()
public void runCustStackTest()
public void runMemberTest()
public java.lang.String getTestName(int argNum)
getTestName
in class PerfTest
PerfTest.getTestName(int)
public static void main(java.lang.String[] c)
Copyright © 2012. All Rights Reserved.