org.jbox2d.testbed.perf
Class MathPerf
java.lang.Object
org.jbox2d.profile.BasicPerformanceTest
org.jbox2d.testbed.perf.MathPerf
public class MathPerf
- 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 int INNER_ITERS
OUTER_ITERS
public static int OUTER_ITERS
aStore
public float aStore
MathPerf
public MathPerf()
- Parameters:
argNumTests
- argIters
-
runTest
public void runTest(int argNum)
- Specified by:
runTest
in class org.jbox2d.profile.BasicPerformanceTest
- See Also:
org.jbox2d.testbed.perf.BasicPerformanceTest#runTest(int)
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
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.