ProgramixGenericLib v5.0.1

com.programix.testing
Class AbstractRegression.Timer

java.lang.Object
  extended by com.programix.testing.AbstractRegression.Timer
Enclosing class:
AbstractRegression

public class AbstractRegression.Timer
extends Object


Field Summary
static long STANDARD_DEFAULT_TOLERANCE
           
 
Constructor Summary
AbstractRegression.Timer()
          Uses STANDARD_DEFAULT_TOLERANCE.
AbstractRegression.Timer(long defaultTolerance)
           
 
Method Summary
 long getAndResetElapsedTime()
           
 long getElapsedTime()
           
 void outln(String msg, long expectedTime)
           
 void outln(String msg, long expectedTime, long tolerance)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STANDARD_DEFAULT_TOLERANCE

public static final long STANDARD_DEFAULT_TOLERANCE
See Also:
Constant Field Values
Constructor Detail

AbstractRegression.Timer

public AbstractRegression.Timer(long defaultTolerance)

AbstractRegression.Timer

public AbstractRegression.Timer()
Uses STANDARD_DEFAULT_TOLERANCE.

Method Detail

reset

public void reset()

getElapsedTime

public long getElapsedTime()

getAndResetElapsedTime

public long getAndResetElapsedTime()

outln

public void outln(String msg,
                  long expectedTime,
                  long tolerance)

outln

public void outln(String msg,
                  long expectedTime)

ProgramixGenericLib v5.0.1

Copyright © 2001-2009 Programix Incorporated. All rights reserved. ProgramixGenericLib is free and is OSI Certified Open Source Software under the BSD license.