uk.org.skeet.jbench.tasks
Class FloatAdditionTask

java.lang.Object
  |
  +--uk.org.skeet.jbench.tasks.SimpleTask
        |
        +--uk.org.skeet.jbench.tasks.FloatAdditionTask
All Implemented Interfaces:
BenchTask

public class FloatAdditionTask
extends SimpleTask

Simple demonstration (along with DoubleAdditionTask) to illustrate the use of SimpleRepetitiveTask


Constructor Summary
FloatAdditionTask()
           
 
Method Summary
 void runTest()
          Runs a test.
 
Methods inherited from class uk.org.skeet.jbench.tasks.SimpleTask
checkConfiguration, checkResults, getDescription, getSize, prepareTest, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatAdditionTask

public FloatAdditionTask()
Method Detail

runTest

public void runTest()
Description copied from interface: BenchTask
Runs a test. This is the method which is timed for result purposes. This should not include any preparation or result checking unless the time reported deliberately requires it.
Following copied from interface: uk.org.skeet.jbench.BenchTask
Throws:
TaskException - if the test failed to complete normally.