Package org.jbox2d.testbed.perf
Class MathPerf
java.lang.Object
org.jbox2d.profile.BasicPerformanceTest
org.jbox2d.testbed.perf.MathPerf
- Author:
- Daniel Murphy
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jbox2d.profile.BasicPerformanceTest
BasicPerformanceTest.ResultFormat -
Field Summary
FieldsModifier and TypeFieldDescriptionfloatstatic intstatic intFields inherited from class org.jbox2d.profile.BasicPerformanceTest
stats -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTestName(int argNum) static voidvoidrunAtan2Test(float argRandom) voidrunCeilTest(float argRandom) voidrunFastAtan2Test(float argRandom) voidrunFastCeilTest(float argRandom) voidrunFastFloorTest(float argRandom) voidrunFastMaxTest(float argRandom) voidrunFastPowTest(float argRandom) voidrunFloorTest(float argRandom) voidrunMaxTest(float argRandom) voidrunPowTest(float argRandom) voidrunSinLUTTest(float argRandom) voidrunSinTest(float argRandom) voidstep(int argNum) Methods inherited from class org.jbox2d.profile.BasicPerformanceTest
getFrames, go, preStep, printf, println, printResults, setFormat, setupTest
-
Field Details
-
INNER_ITERATIONS
public static int INNER_ITERATIONS -
OUTER_ITERATIONS
public static int OUTER_ITERATIONS -
aStore
public float aStore
-
-
Constructor Details
-
MathPerf
public MathPerf()
-
-
Method Details
-
step
public void step(int argNum) - Specified by:
stepin classBasicPerformanceTest
-
runSinTest
public void runSinTest(float argRandom) -
runSinLUTTest
public void runSinLUTTest(float argRandom) -
runPowTest
public void runPowTest(float argRandom) -
runFastPowTest
public void runFastPowTest(float argRandom) -
runMaxTest
public void runMaxTest(float argRandom) -
runFastMaxTest
public void runFastMaxTest(float argRandom) -
runFloorTest
public void runFloorTest(float argRandom) -
runFastFloorTest
public void runFastFloorTest(float argRandom) -
runAtan2Test
public void runAtan2Test(float argRandom) -
runFastAtan2Test
public void runFastAtan2Test(float argRandom) -
runCeilTest
public void runCeilTest(float argRandom) -
runFastCeilTest
public void runFastCeilTest(float argRandom) -
getTestName
- Specified by:
getTestNamein classBasicPerformanceTest
-
main
-