net.sf.spif.util
Class Timing

java.lang.Object
  |
  +--net.sf.spif.util.Timing

public class Timing
extends java.lang.Object

A time period measurement, or average on many such measures.

Version:
$Id: Timing.java,v 1.2 2003/02/05 22:15:52 bratseth Exp $
Author:
Jon S Bratseth

Constructor Summary
Timing(java.lang.String nameOfMeasured)
           
 
Method Summary
 void endSample()
           
 void endSampleVerbose()
           
 void reset()
           
 void startSample()
           
 java.lang.String toString()
          Returns all information in this timing as a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Timing

public Timing(java.lang.String nameOfMeasured)
Method Detail

startSample

public void startSample()

endSample

public void endSample()

endSampleVerbose

public void endSampleVerbose()

reset

public void reset()

toString

public java.lang.String toString()
Returns all information in this timing as a string

Overrides:
toString in class java.lang.Object


Spif 1.01 (2003-04-03). http://spif.sf.net