uk.org.skeet.jbench.tasks
Class InlineTask

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

public class InlineTask
extends SimpleTask


Constructor Summary
InlineTask()
           
 
Method Summary
 java.lang.String getDescription()
          Default description which gives the name of the actual class and the number of iterations.
 void prepareTest()
          Simple no-op implementation of prepareTest.
 void runTest()
          Runs a test.
 void setInline(boolean inline)
          Sets the inline value
 
Methods inherited from class uk.org.skeet.jbench.tasks.SimpleTask
checkConfiguration, checkResults, getSize, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InlineTask

public InlineTask()
Method Detail

runTest

public void runTest()
             throws TaskException
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.
See Also:
BenchTask.runTest()

setInline

public void setInline(boolean inline)
Sets the inline value
Parameters:
inline - The inline to set

getDescription

public java.lang.String getDescription()
Description copied from class: SimpleTask
Default description which gives the name of the actual class and the number of iterations.
Overrides:
getDescription in class SimpleTask
See Also:
SimpleTask.getDescription()

prepareTest

public void prepareTest()
                 throws TaskException
Description copied from class: SimpleTask
Simple no-op implementation of prepareTest.
Overrides:
prepareTest in class SimpleTask
See Also:
SimpleTask.prepareTest()