org.jbox2d.testbed.perf
Class MathPerf

java.lang.Object
  extended by org.jbox2d.profile.BasicPerformanceTest
      extended by org.jbox2d.testbed.perf.MathPerf

public class MathPerf
extends org.jbox2d.profile.BasicPerformanceTest

Author:
Daniel Murphy

Field Summary
 float aStore
           
static int INNER_ITERS
           
static int OUTER_ITERS
           
 
Fields inherited from class org.jbox2d.profile.BasicPerformanceTest
times
 
Constructor Summary
MathPerf()
           
 
Method Summary
 java.lang.String getTestName(int argNum)
           
static void main(java.lang.String[] c)
           
 void runAtan2Test(float argRandom)
           
 void runCeilTest(float argRandom)
           
 void runFastAtan2Test(float argRandom)
           
 void runFastCeilTest(float argRandom)
           
 void runFastFloorTest(float argRandom)
           
 void runFastMaxTest(float argRandom)
           
 void runFastPowTest(float argRandom)
           
 void runFloorTest(float argRandom)
           
 void runMaxTest(float argRandom)
           
 void runPowTest(float argRandom)
           
 void runSinLUTTest(float argRandom)
           
 void runSinTest(float argRandom)
           
 void runTest(int argNum)
           
 
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
 

Field Detail

INNER_ITERS

public static int INNER_ITERS

OUTER_ITERS

public static int OUTER_ITERS

aStore

public float aStore
Constructor Detail

MathPerf

public MathPerf()
Parameters:
argNumTests -
argIters -
Method Detail

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.