org.eclipse.test.internal.performance
Class NullPerformanceMeter

java.lang.Object
  extended by org.eclipse.test.performance.PerformanceMeter
      extended by org.eclipse.test.internal.performance.NullPerformanceMeter

public class NullPerformanceMeter
extends PerformanceMeter

Null performance meter.


Constructor Summary
NullPerformanceMeter()
           
 
Method Summary
 void commit()
          Called exactly once after repeated measurements are done and before their analysis.
 void dispose()
          Dispose associated resources.
 void start()
          Called immediately before the operation to measure.
 void stop()
          Called immediately after the operation to measure.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullPerformanceMeter

public NullPerformanceMeter()
Method Detail

start

public void start()
Description copied from class: PerformanceMeter
Called immediately before the operation to measure. Must be followed by a call to PerformanceMeter.stop() before subsequent calls to this method or PerformanceMeter.commit().

Specified by:
start in class PerformanceMeter

stop

public void stop()
Description copied from class: PerformanceMeter
Called immediately after the operation to measure. Must be preceded by a call to PerformanceMeter.start(), that follows any previous call to this method.

Specified by:
stop in class PerformanceMeter

commit

public void commit()
Description copied from class: PerformanceMeter
Called exactly once after repeated measurements are done and before their analysis. Afterwards PerformanceMeter.start() and PerformanceMeter.stop() must not be called.

Specified by:
commit in class PerformanceMeter

dispose

public void dispose()
Description copied from class: PerformanceMeter
Dispose associated resources. Clients must call this method exactly once. Afterwards no methods must be called on the performance meter.

Specified by:
dispose in class PerformanceMeter