uk.org.skeet.jbench.tasks
Class DoubleAdditionTask

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

public class DoubleAdditionTask
extends SimpleTask

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


Constructor Summary
DoubleAdditionTask()
           
 
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

DoubleAdditionTask

public DoubleAdditionTask()
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.